### **OSPF & OSPFv3 CMQ**
---
**Section 1: OSPF Basics**
1. **What is the primary purpose of OSPF?**
a) To connect autonomous systems (AS) on the internet
b) To dynamically exchange routing information within an AS
c) To encrypt traffic between routers
d) To assign IP addresses to devices
2. **Which OSPF area is considered the "backbone"?**
a) Area 0
b) Area 1
c) Stub Area
d) NSSA
3. **How does OSPF elect a Router ID (RID)?**
a) Manually configured or highest IPv4 loopback address
b) Randomly generated
c) Based on MAC address
d) Assigned by a DHCP server
4. **What is the default OSPF Hello interval on a broadcast network (e.g., Ethernet)?**
a) 10 seconds
b) 30 seconds
c) 40 seconds
d) 5 seconds
5. **What is the role of a Designated Router (DR) in OSPF?**
a) To reduce routing table size
b) To forward traffic between areas
c) To optimize LSA flooding on multi-access networks
d) To encrypt OSPF packets
6. **What is a Stub Area in OSPF?**
a) An area that blocks Type 5 LSAs
b) An area that blocks Type 3 LSAs
c) An area that allows all LSAs
d) An area used for external route redistribution
7. **Which LSA type describes a router’s directly connected links?**
a) Type 1 (Router LSA)
b) Type 2 (Network LSA)
c) Type 3 (Summary LSA)
d) Type 5 (External LSA)
8. **What device generates Type 3 LSAs?**
a) ABR (Area Border Router)
b) ASBR (Autonomous System Boundary Router)
c) Internal Router
d) DR (Designated Router)
9. **What is the purpose of an NSSA (Not-So-Stubby Area)?**
a) To allow limited external routes while blocking most Type 5 LSAs
b) To encrypt OSPF traffic
c) To merge multiple OSPF areas
d) To disable OSPF authentication
10. **Which LSA type is used for external routes (e.g., routes redistributed from RIP)?**
a) Type 5
b) Type 7
c) Type 3
d) Type 1
---
#### **Section 3: OSPF Configuration**
11. **Which command enables OSPF process 1 on a router?**
a) `router ospf 1`
b) `ospf enable 1`
c) `enable ospf 1`
d) `network ospf 1`
12. **What does the `passive-interface` command do in OSPF?**
a) Blocks OSPF Hello packets on an interface
b) Encrypts OSPF traffic
c) Prioritizes OSPF updates
d) Disables OSPF authentication
13. **Which command summarizes routes at an ABR for Area 1?**
a) `area 1 range 10.1.0.0 255.255.0.0`
b) `summary-address 10.1.0.0 255.255.0.0`
c) `ip ospf summary 10.1.0.0/16`
d) `network 10.1.0.0 0.0.255.255 area 1`
14. **How do you enable MD5 authentication for OSPF on an interface?**
a) `ip ospf authentication message-digest`
b) `ip ospf md5 1 password Cisco123`
c) `ospf authentication md5`
d) `authentication ospf md5 1 Cisco123`
15. **Which command injects a default route into OSPF?**
a) `default-information originate`
b) `ip route 0.0.0.0 0.0.0.0 10.1.1.1`
c) `network 0.0.0.0 255.255.255.255 area 0`
d) `ospf default-route`
16. **What is the primary purpose of OSPFv3?**
a) To support IPv6 routing
b) To replace EIGRP
c) To encrypt OSPF packets
d) To reduce LSA flooding
17. **Which command enables OSPFv3 on an interface?**
a) `ipv6 ospf 1 area 0`
b) `ospfv3 1 area 0`
c) `ipv6 router ospf 1`
d) `interface ospfv3 1`
18. **How does OSPFv3 use IPv6 link-local addresses?**
a) For neighbor adjacency formation
b) For external route redistribution
c) For encrypting LSAs
d) For assigning Router IDs
19. **What feature does OSPFv3 support that OSPFv2 does not?**
a) Multiple OSPF instances per interface
b) Stub areas
c) MD5 authentication
d) Type 5 LSAs
20. **How is OSPFv3 authentication configured?**
a) Using IPv6 IPSec
b) Using the `authentication` command under OSPFv3
c) Using the `ipv6 ospf authentication` command
d) OSPFv3 does not support authentication.
21. **What is a Virtual Link in OSPF?**
a) A tunnel to connect Area 0 to a non-backbone area
b) A backup path for Type 5 LSAs
c) A method to encrypt OSPF traffic
d) A way to merge two OSPF processes
22. **Which command redistributes RIP routes into OSPF?**
a) `redistribute rip subnets`
b) `import rip`
c) `ospf redistribute rip`
d) `redistribute ospf rip`
23. **What is required for OSPFv3 routers to form an adjacency?**
a) Matching area IDs and Router IDs
b) Identical IPv6 global addresses
c) Both routers must be ABRs
d) A shared secret key
24. **Which LSA type in OSPFv3 carries IPv6 prefix information?**
a) Type 8 (Link-LSA)
b) Type 9 (Intra-Area-Prefix-LSA)
c) Type 5 (AS-External-LSA)
d) Type 1 (Router-LSA)
25. **Why might OSPF neighbors fail to reach the FULL state?**
a) Mismatched subnet masks
b) Duplicate Router IDs
c) Different OSPF areas
d) All of the above