Courseiva

CCNA OSPF Questions

49 questions · OSPF topic · All types, answers revealed

1
Matchingmedium

Drag and drop each OSPF packet type on the left to its matching function on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Discovers neighbors and maintains adjacency state

Contains a list of LSA headers for database synchronization

Requests specific LSAs from a neighbor

Sends one or more complete LSAs to a neighbor

Confirms receipt of LSU packets

Why these pairings

Hello packets discover and maintain neighbor relationships; DBD packets contain a summary of the LSDB; LSR packets request specific LSAs; LSU packets send full LSAs in response to LSRs; LSAck packets acknowledge receipt of LSUs.

2
Drag & Dropmedium

Drag and drop the steps of OSPF virtual link configuration into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

A virtual link connects a non-backbone area to Area 0 through a transit area. First, identify the ABR with the transit area, then configure the virtual link on both ABRs using the router ID of the neighbor, ensure the transit area has full OSPF adjacency, and finally verify the virtual link is operational.

3
Drag & Dropmedium

Drag and drop the steps of OSPF SPF calculation steps (Dijkstra) into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

The Dijkstra algorithm first initializes the candidate list with the root node, then iteratively moves the lowest-cost candidate to the tree, updating neighbor costs, and finally builds the routing table from the shortest-path tree.

4
MCQmedium

Examine the following OSPF configuration on a Cisco IOS-XE router: router ospf 1 router-id 1.1.1.1 network 10.0.0.0 0.255.255.255 area 0 network 192.168.1.0 0.0.0.255 area 1 default-information originate always metric 10 metric-type 1 What is the effect of the 'default-information originate always' command?

A.A default route is advertised into OSPF only if the router has a default route in its routing table.
B.A default route is unconditionally advertised into OSPF with metric 10 and type E1.
C.The router will redistribute static default routes into OSPF.
D.The router will generate a default route only for area 1.
AnswerB

The 'always' keyword ensures unconditional advertisement, and metric-type 1 means E1.

Why this answer

This command injects a default route (0.0.0.0/0) into the OSPF domain unconditionally, even if the router does not have a default route in its routing table. The metric and type are set as specified.

5
MCQeasy

What is the default OSPF hello interval on an Ethernet link?

A.10 seconds
B.30 seconds
C.40 seconds
D.5 seconds
AnswerA

This is the standard default for Ethernet and other broadcast networks.

Why this answer

OSPF uses different hello intervals depending on the network type. On broadcast and point-to-point networks (like Ethernet), the default hello interval is 10 seconds.

6
Multi-Selecthard

Which three statements about OSPF LSA types are true? (Choose three.)

Select 3 answers
A.Type 1 LSAs are generated by every OSPF router to describe its own interfaces and neighbors.
B.Type 2 LSAs are generated by the Designated Router on multiaccess networks.
C.Type 5 LSAs are generated by ASBRs to advertise routes from other routing domains.
D.Type 3 LSAs are generated by ASBRs to summarize routes between areas.
E.Type 4 LSAs are generated by the ASBR to advertise its presence to other areas.
AnswersA, B, C

Correct because Router LSAs (Type 1) are created by each router to advertise its directly connected links.

Why this answer

Type 1 LSAs (Router LSAs) are generated by every router and describe the router's directly attached links. Option B is correct because Type 2 LSAs (Network LSAs) are generated by the DR on broadcast and NBMA networks to describe the segment and attached routers. Option C is correct because Type 5 LSAs (AS External LSAs) are generated by ASBRs to advertise external routes.

Option D is incorrect because Type 3 LSAs (Summary LSAs) are generated by ABRs, not ASBRs. Option E is incorrect because Type 4 LSAs (ASBR Summary LSAs) are generated by ABRs, not the ASBR itself.

7
Drag & Dropmedium

Drag and drop the steps of EIGRP redistribution from OSPF with metric seeding into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

When redistributing OSPF into EIGRP with metric seeding, the correct order is: First, enter EIGRP router configuration mode (A). Second, if using named mode, specify the address-family (B). Third, set the default-metric (D) before redistribution to ensure routes receive proper metric values.

Fourth, issue the 'redistribute ospf process-id' command (C). Finally, verify with 'show ip eigrp topology all-links' (E).

8
MCQeasy

A network engineer is configuring model-driven telemetry on a Cisco IOS-XE router to stream OSPF neighbor state changes. The engineer uses the YANG model 'Cisco-IOS-XE-ospf-oper' and creates an on-change subscription. After testing, the engineer notices that the telemetry data is being sent, but the collector is receiving duplicate updates for the same OSPF neighbor state change. What is the most likely cause of these duplicate updates?

A.The subscription is configured with both on-change and periodic updates
B.The YANG path includes multiple leafs that change together, each triggering a separate update
C.The collector is sending acknowledgments that cause the router to resend data
D.The engineer used JSON encoding which causes larger payloads and fragmentation
AnswerB

On-change subscriptions send an update for each leaf that changes, so multiple leaf changes from a single event cause duplicate updates.

Why this answer

That the YANG path includes multiple leafs that change simultaneously, causing multiple updates for the same event. For example, when an OSPF neighbor goes from FULL to DOWN, multiple leafs (state, last-up-time, etc.) change, and each change triggers an on-change update. The other options are incorrect because the sample-interval is not used in on-change subscriptions; the collector is not causing duplicates; and the encoding does not cause duplicates.

9
Multi-Selectmedium

Which three statements about OSPF route summarization are true? (Choose three.)

Select 3 answers
A.Inter-area route summarization is configured on ABRs using the "area range" command.
B.External route summarization is configured on ASBRs using the "summary-address" command.
C.Route summarization reduces the size of the LSDB and improves network convergence.
D.Route summarization can be configured on any OSPF router to reduce Type 1 LSAs.
E.Summarization in OSPF can be applied to Type 1 and Type 2 LSAs to reduce flooding.
AnswersA, B, C

Correct because ABRs use the "area range" command to summarize routes between areas, reducing Type 3 LSAs.

Why this answer

Inter-area summarization is configured on ABRs to reduce the number of Type 3 LSAs. Option B is correct because external route summarization is configured on ASBRs to reduce Type 5 LSAs. Option C is correct because summarization helps reduce the routing table size and LSA flooding, improving network stability.

Option D is incorrect because summarization is not supported on internal routers; it is only performed on ABRs and ASBRs. Option E is incorrect because summarization does not affect Type 1 or Type 2 LSAs; it only affects Type 3 and Type 5 LSAs.

10
Matchingmedium

Drag and drop each OSPF area type on the left to its matching characteristic on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Must connect all other areas; area 0

Blocks Type 5 LSAs; allows Type 3 summary LSAs

Blocks Type 5 and Type 3 LSAs; uses default route only

Allows Type 7 LSAs for external routes; blocks Type 5 LSAs

Blocks Type 5 and Type 3; allows Type 7 for external routes

Why these pairings

Backbone area (0) connects all other areas; Stub area blocks Type 5 LSAs but allows Type 3; Totally stubby area blocks both Type 5 and Type 3 (default route only); NSSA allows Type 7 LSAs for external routes but blocks Type 5; NSSA totally stubby blocks Type 5 and Type 3 but allows Type 7.

11
MCQeasy

A network engineer is troubleshooting an OSPF adjacency issue between two routers connected via a serial link. The adjacency is stuck in the INIT state. The engineer has verified that the IP addresses are in the same subnet and that the link is up. What is the most likely cause?

A.The OSPF router IDs are the same.
B.The OSPF hello interval is mismatched between the two routers.
C.The OSPF process ID is different.
D.The OSPF network type is point-to-point on one router and point-to-multipoint on the other.
AnswerB

Correct because if the hello intervals are different, the routers will not agree on the hello timer, causing the adjacency to remain in INIT.

Why this answer

The INIT state in OSPF indicates that a router has received a Hello packet from its neighbor but the neighbor has not yet seen its own Router ID in the received Hello. A mismatched Hello interval causes the routers to send Hellos at different rates, so one router may not receive a Hello within the expected Dead interval, preventing the neighbor from seeing its Router ID in the received Hello and thus stalling the adjacency in INIT.

Exam trap

Cisco often tests the distinction between INIT and other OSPF states, and the trap here is that candidates confuse a network type mismatch (which causes EXSTART issues) with a Hello interval mismatch (which causes INIT), or incorrectly assume that the OSPF process ID must match.

How to eliminate wrong answers

Option A is wrong because identical OSPF router IDs would cause a conflict that typically results in the adjacency being stuck in EXSTART/EXCHANGE or a neighbor state of DOWN, not INIT. Option C is wrong because the OSPF process ID is locally significant and does not need to match between routers for adjacency formation. Option D is wrong because a network type mismatch (e.g., point-to-point vs. point-to-multipoint) usually causes the adjacency to get stuck in the EXSTART state due to DR/BDR election issues, not in INIT.

12
MCQmedium

Router R5 has the following OSPF configuration: router ospf 1 router-id 5.5.5.5 network 10.0.0.0 0.255.255.255 area 0 area 0 authentication message-digest ! interface GigabitEthernet0/0 ip address 10.1.1.5 255.255.255.0 ip ospf message-digest-key 1 md5 cisco123 What is missing from this OSPF authentication configuration?

A.The configuration is complete and correct.
B.The interface needs the 'ip ospf authentication message-digest' command.
C.The 'area 0 authentication' command should be 'area 0 authentication md5'.
D.The 'network' command should include the area authentication keyword.
AnswerB

This command activates MD5 authentication on the interface, required for the area authentication to take effect.

Why this answer

OSPF authentication configuration requires two components: an area-level authentication type (configured via `area 0 authentication message-digest`) and an interface-level authentication mode (configured via `ip ospf authentication message-digest`). The interface command tells the OSPF process to actually use the key defined with `ip ospf message-digest-key`. Without it, the interface defaults to no authentication, even though the area is configured for authentication.

Exam trap

The trap here is that candidates assume configuring the area authentication and the key is sufficient, overlooking the mandatory interface-level `ip ospf authentication message-digest` command that activates authentication on the specific interface.

How to eliminate wrong answers

Option A is wrong because the configuration is incomplete; the interface lacks the `ip ospf authentication message-digest` command, so OSPF packets on GigabitEthernet0/0 will not be authenticated. Option C is wrong because `area 0 authentication md5` is not a valid Cisco IOS command; the correct syntax is `area 0 authentication message-digest`. Option D is wrong because the `network` command does not support an area authentication keyword; area authentication is configured separately under the OSPF process or on the interface.

13
Matchingmedium

Drag and drop each OSPF network type on the left to its matching DR election behavior on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Elects a DR/BDR; uses multicast Hellos (224.0.0.5 and 224.0.0.6)

Elects a DR/BDR; requires manual neighbor configuration

No DR/BDR election; uses multicast Hellos (224.0.0.5)

No DR/BDR election; treats each neighbor as a point-to-point link

No DR/BDR election; requires manual neighbor configuration

Why these pairings

Broadcast network type (e.g., Ethernet) elects a DR/BDR. Non-broadcast (NBMA) also elects DR/BDR but requires manual neighbor configuration. Point-to-point does not elect a DR/BDR.

Point-to-multipoint does not elect a DR/BDR. Point-to-multipoint non-broadcast does not elect a DR/BDR and requires manual neighbor configuration.

14
MCQeasy

What is the default OSPF hello interval on an Ethernet link?

A.5 seconds
B.10 seconds
C.30 seconds
D.40 seconds
AnswerB

The default OSPF hello interval on Ethernet (broadcast) links is 10 seconds.

Why this answer

The default OSPF hello interval on an Ethernet (broadcast multi-access) link is 10 seconds, as defined in RFC 2328. This interval determines how often a router sends Hello packets to discover and maintain neighbor relationships. On non-broadcast multi-access (NBMA) networks, the default is 30 seconds.

Exam trap

Cisco often tests the default OSPF hello interval for Ethernet specifically, and the trap here is confusing it with the 30-second default used on NBMA networks or the 5-second default on point-to-point links.

How to eliminate wrong answers

Option A is wrong because 5 seconds is the default hello interval for OSPF on point-to-point links in some implementations, but not on Ethernet. Option C is wrong because 30 seconds is the default hello interval for OSPF on NBMA networks (e.g., Frame Relay), not on Ethernet. Option D is wrong because 40 seconds is not a standard OSPF hello interval; it is the default dead interval on NBMA networks (4 times the hello interval of 30 seconds).

15
Matchingmedium

Drag and drop each OSPF area type on the left to its matching characteristic on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Must connect all other areas and cannot be a stub

Blocks Type 5 LSAs; uses a default route for external destinations

Blocks Type 3 and Type 5 LSAs; uses a default route for all inter-area and external destinations

Allows Type 7 LSAs for external routes; ABR translates them to Type 5

Permits all LSA types including Type 3, 4, and 5

Why these pairings

The backbone area (Area 0) connects all other areas. A stub area blocks Type 5 LSAs and uses a default route. A totally stubby area blocks both Type 3 and Type 5 LSAs, using only a default route.

An NSSA (Not-So-Stubby Area) allows Type 7 LSAs for external routes and converts them to Type 5 at the ABR.

16
MCQmedium

A network engineer runs the following command on Router R1: R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.0.0.2 1 FULL/DR 00:00:32 192.168.1.2 GigabitEthernet0/0 10.0.0.3 1 2WAY/DROTHER 00:00:35 192.168.1.3 GigabitEthernet0/0 Based on this output, what can be concluded?

A.R1 is the Backup Designated Router (BDR) on this segment.
B.R1 has a full OSPF adjacency with the neighbor 10.0.0.3.
C.R1 is a DROTHER on this segment.
D.The OSPF network type is point-to-point.
AnswerC

Since the DR is 10.0.0.2 and the BDR is not listed, and R1 has a full adjacency only with the DR, R1 must be a DROTHER.

Why this answer

The output shows R1 has a neighbor with state 2WAY/DROTHER (10.0.0.3), which indicates that R1 is also a DROTHER on this broadcast multiaccess segment. The FULL/DR neighbor (10.0.0.2) is the Designated Router, and since R1 is not the BDR (no FULL/BDR state), it must be a DROTHER.

Exam trap

Cisco often tests the misconception that 2WAY state means a full adjacency, but in OSPF, 2WAY is a normal neighbor state on broadcast networks between DROTHERs, not a full adjacency (which requires FULL state).

How to eliminate wrong answers

Option A is wrong because R1 is not the BDR; the BDR would appear with state FULL/BDR, but the only FULL neighbor is the DR (10.0.0.2). Option B is wrong because the neighbor 10.0.0.3 is in the 2WAY state, not FULL, meaning they have an established neighbor relationship but not a full adjacency (they exchange Hellos but not LSAs directly). Option D is wrong because the presence of DR/BDR states (FULL/DR, 2WAY/DROTHER) indicates a broadcast multiaccess network type, not point-to-point.

17
Multi-Selecthard

Which three statements about OSPF LSA types are correct? (Choose three.)

Select 3 answers
A.Type 1 LSAs (Router LSAs) are generated by every OSPF router and describe the router's interfaces and neighbors within an area.
B.Type 2 LSAs (Network LSAs) are generated by the DR on broadcast and NBMA networks to list all routers attached to the segment.
C.Type 3 LSAs (Summary LSAs) are generated by ASBRs to advertise external routes into the OSPF domain.
D.Type 4 LSAs (ASBR Summary LSAs) are generated by ABRs to advertise the location of an ASBR to routers in other areas.
E.Type 5 LSAs (AS External LSAs) are flooded only within the area where they originate.
AnswersA, B, D

Correct because Router LSAs are the fundamental LSA type, created by each router to advertise its directly connected links and state.

Why this answer

OSPF uses various LSA types to describe different routing information. Type 1 (Router LSA) is generated by every router. Type 2 (Network LSA) is generated by the DR.

Type 3 (Summary LSA) is generated by ABRs. Type 4 (ASBR Summary LSA) is also generated by ABRs. Type 5 (AS External LSA) originates from ASBRs and is flooded throughout the entire OSPF domain.

18
Drag & Dropmedium

Drag and drop the steps of OSPF redistribution from EIGRP with metric conversion into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

First, identify the EIGRP routes to redistribute into OSPF. Then, configure the OSPF redistribution command under the OSPF process, specifying the EIGRP AS number. Since OSPF requires a metric for redistributed routes, set the OSPF metric type (E1 or E2) and seed metric.

Optionally, use a route map to filter or modify specific routes. Finally, verify that the redistributed routes appear in the OSPF database and routing table.

19
Drag & Dropmedium

Drag and drop the steps of OSPF summarization at ABR configuration steps into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

First, identify the subnets to summarize into a single prefix. Then, configure the area range command on the ABR under the OSPF process, specifying the area and the summary prefix. Optionally, set the 'not-advertise' keyword to suppress the summary.

Verify the summary route in the OSPF database using 'show ip ospf summary-address'. Finally, check that the summary route appears in the routing table of other routers.

20
Drag & Drophard

Drag and drop the steps of OSPF redistribution from EIGRP with metric conversion into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

Redistribution requires enabling redistribution, setting a seed metric (or using default-metric), optionally matching routes, and then verifying. The order ensures routes are properly injected.

21
Matchingmedium

Drag and drop each OSPF packet type on the left to its matching function on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Discovers and maintains OSPF neighbor adjacencies

Contains a summary of the link-state database for initial synchronization

Requests specific link-state advertisements from a neighbor

Carries one or more full LSAs during flooding or in response to an LSR

Acknowledges receipt of an LSU to ensure reliable flooding

Why these pairings

Hello packets discover and maintain neighbor relationships. DBD (Database Description) packets contain a summary of the LSDB for synchronization. LSR (Link-State Request) packets request specific LSAs.

LSU (Link-State Update) packets carry full LSAs in response to LSRs or during flooding. LSAck (Link-State Acknowledgment) packets confirm receipt of LSUs.

22
Drag & Drophard

Drag and drop the steps of OSPF route redistribution into a different autonomous system into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

Redistribution requires first configuring the routing process that will receive the routes, then defining the source protocol and metric, optionally setting route tags for loop prevention, applying a route map for filtering, and finally verifying the redistributed routes appear in the OSPF database.

23
Drag & Dropmedium

Drag and drop the steps of OSPFv3 IPv6 neighbor adjacency formation into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

OSPFv3 neighbor formation begins with the router sending Hello packets on the link. The neighbor receives the Hello and replies with its own Hello, including the router ID. Both routers then exchange Database Description packets to summarize their LSDB.

Link State Request packets are sent for missing LSAs, and Link State Update packets provide the requested LSAs. Finally, Link State Acknowledgment packets confirm receipt, completing the adjacency.

24
MCQmedium

An enterprise network uses OSPF as its IGP. The network engineer notices that a particular route learned via OSPF is not being installed in the routing table, even though the neighbor adjacency is up and the route appears in the OSPF database. The route is an external route redistributed from EIGRP. What is the most likely cause?

A.The OSPF process ID is different on the routers.
B.The external route has a higher administrative distance than the internal route.
C.The forwarding address in the type 5 LSA is not reachable via an OSPF internal route.
D.The OSPF metric for the external route is too high.
AnswerC

Correct because OSPF requires the forwarding address to be reachable via an intra-area or inter-area route; otherwise, the external route is not installed.

Why this answer

OSPF requires the forwarding address (FA) in a Type 5 LSA to be reachable via an OSPF internal route (intra-area or inter-area) for the external route to be installed in the routing table. If the FA is not reachable, the router will ignore the LSA and not install the route, even though the LSA exists in the OSPF database and the neighbor adjacency is up.

Exam trap

Cisco often tests the forwarding address reachability requirement for Type 5 LSAs, and the trap here is that candidates assume any route in the OSPF database will automatically be installed, ignoring the recursive lookup condition for external routes with a non-zero forwarding address.

How to eliminate wrong answers

Option A is wrong because the OSPF process ID is locally significant and does not affect route installation between routers; different process IDs can still form adjacencies and exchange routes. Option B is wrong because OSPF external routes (type 5) have a default administrative distance of 110, while internal OSPF routes also have 110; the issue is not about AD comparison between internal and external OSPF routes, but about reachability of the forwarding address. Option D is wrong because a high OSPF metric does not prevent route installation; it only influences route selection among multiple paths; the route will still be installed if the metric is valid and the forwarding address is reachable.

25
MCQeasy

What is the default OSPF hello interval on a broadcast multi-access network (e.g., Ethernet)?

A.10 seconds
B.30 seconds
C.5 seconds
D.40 seconds
AnswerA

Correct. The default hello interval on broadcast networks is 10 seconds.

Why this answer

On a broadcast multi-access network like Ethernet, OSPF defaults to a hello interval of 10 seconds. This is defined in RFC 2328 and is used to quickly detect neighbor failures while keeping control traffic overhead manageable. The corresponding dead interval is 40 seconds (4 times the hello interval).

Exam trap

Cisco often tests the distinction between hello and dead intervals, and candidates confuse the 40-second dead interval with the hello interval, or incorrectly recall the NBMA hello interval of 30 seconds.

How to eliminate wrong answers

Option B is wrong because 30 seconds is the default hello interval for OSPF on non-broadcast multi-access (NBMA) networks, not broadcast multi-access. Option C is wrong because 5 seconds is not a standard OSPF hello interval; it is sometimes used in tuned configurations but is not the default. Option D is wrong because 40 seconds is the default dead interval on broadcast networks, not the hello interval.

26
MCQhard

A service provider uses MPLS L3VPN with OSPF as the PE-CE routing protocol. A customer reports that a new subnet added on CE1 is not reachable from CE2, even though the PE1 router has the route in its VRF and BGP table. The 'show ip bgp vpnv4 vrf CUSTOMER' on PE2 shows the prefix with a valid next-hop. What should the engineer check next?

A.Verify that LDP has allocated a label for the BGP next-hop address on PE2.
B.Check if OSPF is redistributed into BGP on PE1.
C.Ensure the route is present in the global BGP table on PE2.
D.Confirm that the VRF on PE2 has the correct route-target import.
AnswerA

Correct because without a label for the next-hop, the VPN route cannot be forwarded.

Why this answer

The issue is that PE2 has the prefix in its BGP VPNv4 table with a valid next-hop, but the route is not reachable from CE2. This indicates a label-switching problem in the MPLS core. The next step is to verify that LDP has allocated a label for the BGP next-hop address on PE2, because without an LDP label for the next-hop, the MPLS forwarding path is broken and packets cannot be label-switched across the provider core.

Exam trap

Cisco often tests the distinction between control-plane reachability (BGP table) and data-plane forwarding (MPLS label switching), trapping candidates who assume that a route in the BGP table guarantees end-to-end connectivity.

How to eliminate wrong answers

Option B is wrong because OSPF redistribution into BGP on PE1 is already confirmed working—PE1 has the route in its VRF and BGP table, so redistribution is not the issue. Option C is wrong because the route is already present in the BGP VPNv4 table on PE2 (as shown by 'show ip bgp vpnv4 vrf CUSTOMER'), and the global BGP table is irrelevant for VRF routes. Option D is wrong because if the VRF on PE2 had incorrect route-target import, the prefix would not appear in the VRF or BGP VPNv4 table at all, but the question states it is present with a valid next-hop.

27
Multi-Selecteasy

Which two statements about OSPF neighbor states are true? (Choose two.)

Select 2 answers
A.The 2-Way state indicates that both routers have seen their own router ID in the neighbor's hello packet.
B.The Full state indicates that the routers have synchronized their LSDBs and are fully adjacent.
C.In the ExStart state, routers exchange Database Description packets containing LSA headers.
D.In the Exchange state, routers send Link State Requests and receive Link State Updates.
E.The Down state is the final state when a neighbor is unreachable.
AnswersA, B

Correct because 2-Way confirms bidirectional communication, which is required before proceeding to database synchronization.

Why this answer

The 2-Way state indicates that both routers have received each other's hello packets, confirming bidirectional communication. Option B is correct because the Full state means that the routers have exchanged all LSAs and their databases are synchronized. Option C is incorrect because the ExStart state is where the master/slave relationship is established, not where LSAs are exchanged.

Option D is incorrect because the Loading state is where LSRs and LSUs are exchanged, not the Exchange state. Option E is incorrect because the Down state is the initial state before any hello packets are received.

28
Drag & Dropmedium

Drag and drop the steps of OSPF neighbor adjacency formation into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

OSPF neighbors transition through Down, Init, 2-Way, ExStart, Exchange, Loading, and Full states. The correct order begins with the router sending Hello packets (Down to Init), then receiving a Hello reply (Init to 2-Way), electing DR/BDR if needed (2-Way to ExStart), exchanging database description packets (ExStart to Exchange), and finally synchronizing databases (Loading to Full).

29
Drag & Dropmedium

Drag and drop the steps of OSPF virtual link configuration across area 0 into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

First, ensure the transit area (non-backbone) has full connectivity and at least one ABR. Then, identify the router IDs of the two ABRs that will form the virtual link. On each ABR, configure the virtual link using the 'area transit-area-id virtual-link router-id' command.

Verify the virtual link state using 'show ip ospf virtual-links'. Finally, confirm that routes from the backbone area are now reachable across the virtual link.

30
Multi-Selectmedium

Which two statements about OSPF neighbor states are true? (Choose two.)

Select 2 answers
A.The 2-Way state indicates that the router has received a Hello packet from the neighbor with its own Router ID in the neighbor list.
B.In the ExStart state, routers exchange Database Description (DBD) packets to describe their LSDB contents.
C.The Full state means the routers have synchronized their link-state databases and are fully adjacent.
D.The Loading state occurs before the Exchange state in the neighbor state machine.
E.The Down state means the router has received a Hello packet from the neighbor but has not yet established two-way communication.
AnswersA, C

Correct because 2-Way state confirms bidirectional communication: each router sees its own Router ID in the other's Hello packet.

Why this answer

OSPF neighbor state machine progresses through several states. The 2-Way state indicates bidirectional communication has been established. The Full state means the routers have exchanged complete LSDB information.

The ExStart state is where the master/slave relationship is determined. The Loading state occurs after the Database Description (DBD) exchange.

31
Matchingmedium

Drag and drop each OSPF router role on the left to its matching function on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Generates the Network LSA and maintains full adjacencies with all routers on the segment

Monitors the DR and assumes the DR role if the DR fails

Forms full adjacencies only with the DR and BDR

Connects multiple areas and advertises inter-area routes

Redistributes external routes into OSPF

Why these pairings

The DR (Designated Router) generates the Network LSA and manages LSDB synchronization on multiaccess networks. The BDR (Backup Designated Router) monitors the DR and takes over if the DR fails. DROTHERs form full adjacencies only with the DR and BDR, not with each other.

32
Matchingmedium

Drag and drop each OSPF network type on the left to its matching DR election behavior on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Elects DR and BDR; uses multicast Hello to 224.0.0.5

Elects DR and BDR; uses unicast Hello to configured neighbors

No DR/BDR election; uses multicast 224.0.0.5

No DR/BDR election; uses multicast 224.0.0.5

Always advertised as a /32 host route; no DR election

Why these pairings

Broadcast network type elects DR/BDR and uses multicast 224.0.0.5/6; Non-broadcast (NBMA) also elects DR/BDR but uses unicast; Point-to-point does not elect DR/BDR; Point-to-multipoint does not elect DR/BDR and uses multicast; Loopback interface is always advertised as a /32 host route regardless of configured mask.

33
MCQeasy

What is the default OSPF hello interval on a broadcast multi-access network (e.g., Ethernet)?

A.10 seconds
B.30 seconds
C.40 seconds
D.5 seconds
AnswerA

The default hello interval for OSPF on broadcast and point-to-point networks is 10 seconds.

Why this answer

On broadcast multi-access networks like Ethernet, OSPF defaults to a hello interval of 10 seconds. This is defined in RFC 2328 and is used to quickly detect neighbor failures while keeping overhead low. The corresponding dead interval is 40 seconds (4 times the hello interval).

Exam trap

Cisco often tests the distinction between hello and dead intervals, and candidates frequently confuse the 40-second dead interval with the hello interval, or mistakenly apply NBMA defaults to broadcast networks.

How to eliminate wrong answers

Option B is wrong because 30 seconds is the default hello interval for OSPF on non-broadcast multi-access (NBMA) networks, such as Frame Relay, not on broadcast multi-access networks. Option C is wrong because 40 seconds is the default dead interval on broadcast multi-access networks, not the hello interval. Option D is wrong because 5 seconds is not a standard OSPF default hello interval; it is sometimes used in tuned configurations for faster convergence but is not the default.

34
MCQmedium

Given the following configuration on a Cisco IOS-XE device: router ospf 1 network 10.0.0.0 0.255.255.255 area 0 ! interface GigabitEthernet0/0 ip address 10.1.1.1 255.255.255.0 ip ospf cost 10 ! interface GigabitEthernet0/1 ip address 10.2.2.1 255.255.255.0 ! Which statement is true about OSPF operation?

A.Both interfaces will have an OSPF cost of 10.
B.GigabitEthernet0/0 will have an OSPF cost of 10, and GigabitEthernet0/1 will have a default cost based on its bandwidth.
C.Both interfaces will have the same OSPF cost because they are in the same area.
D.OSPF will not run on either interface because the network command uses a wildcard mask of 0.255.255.255.
AnswerB

Correct. The explicit cost applies only to the interface it is configured on. The other interface uses the default cost.

Why this answer

The 'ip ospf cost' command overrides the default cost calculation based on bandwidth. The network command matches both interfaces because they fall under 10.0.0.0/8.

35
MCQmedium

A network engineer runs the following command on Router R5: R5# show ip ospf border-routers OSPF Process 1 internal Routing Table Codes: i - Intra-area route, I - Inter-area route i 1.1.1.1 [110/10] via 192.168.1.1, GigabitEthernet0/0, ABR, Area 0, SPF 5 i 2.2.2.2 [110/20] via 192.168.1.2, GigabitEthernet0/0, ASBR, Area 0, SPF 5 Based on this output, what can be concluded?

A.Router 1.1.1.1 connects area 0 to another OSPF area.
B.Router 2.2.2.2 is an Area Border Router.
C.Router 1.1.1.1 is redistributing external routes into OSPF.
D.The route to 2.2.2.2 is an inter-area route.
AnswerA

ABR indicates it connects multiple areas.

Why this answer

The output shows an entry for 1.1.1.1 with the label 'ABR' (Area Border Router) and a route type of 'i' (intra-area). An ABR connects two or more OSPF areas, so Router 1.1.1.1 must be connecting Area 0 to another OSPF area. The metric [110/10] and next-hop 192.168.1.1 confirm it is reachable within Area 0.

Exam trap

Cisco often tests the distinction between ABR and ASBR roles in the 'show ip ospf border-routers' output, where candidates mistakenly assume any border router is an ABR or confuse the 'i' and 'I' route codes.

How to eliminate wrong answers

Option B is wrong because the output explicitly labels 2.2.2.2 as 'ASBR' (Autonomous System Boundary Router), not ABR; an ASBR redistributes external routes into OSPF, it does not connect areas. Option C is wrong because 1.1.1.1 is labeled 'ABR', not 'ASBR'; only an ASBR redistributes external routes into OSPF. Option D is wrong because the route to 2.2.2.2 is marked with 'i' (intra-area), not 'I' (inter-area); inter-area routes are denoted by a capital 'I' in the OSPF routing table.

36
Multi-Selectmedium

Which two statements about OSPF network types are true? (Choose two.)

Select 2 answers
A.The point-to-point network type does not require a DR/BDR election.
B.The broadcast network type uses a DR/BDR to reduce the number of adjacencies.
C.The NBMA network type automatically discovers neighbors via hello packets.
D.The point-to-multipoint network type requires a DR/BDR election.
E.The loopback interface defaults to the point-to-point network type.
AnswersA, B

Correct because in point-to-point networks, there are only two routers, so no DR/BDR is needed.

Why this answer

The point-to-point network type does not require a DR/BDR election. Option B is correct because the broadcast network type uses a DR/BDR to reduce adjacencies and LSAs. Option C is incorrect because NBMA networks require manual neighbor configuration.

Option D is incorrect because the point-to-multipoint network type does not require a DR/BDR. Option E is incorrect because the loopback interface defaults to the loopback network type, not point-to-point.

37
Multi-Selecthard

Which three statements about OSPF area types are correct? (Choose three.)

Select 3 answers
A.A stub area blocks Type 5 AS External LSAs but allows Type 3 Summary LSAs and a default route.
B.A totally stubby area blocks both Type 5 and Type 3 LSAs, injecting only a default route into the area.
C.A not-so-stubby-area (NSSA) allows Type 5 LSAs to be imported from external networks.
D.A standard area can contain Type 1, 2, 3, 4, and 5 LSAs.
E.A totally NSSA blocks Type 3 LSAs but allows Type 5 LSAs from external sources.
AnswersA, B, D

Correct because stub areas are designed to reduce the LSDB by preventing Type 5 LSAs, while still receiving inter-area routes via Type 3 and a default route.

Why this answer

OSPF area types control the propagation of LSAs. A standard area can carry all LSA types. A stub area blocks Type 5 LSAs but allows Type 3.

A totally stubby area blocks both Type 5 and Type 3 (except a default route). A not-so-stubby-area (NSSA) blocks Type 5 but allows Type 7 for external routes. A totally NSSA further blocks Type 3.

38
MCQeasy

What is the default OSPF hello interval on an Ethernet link?

A.10 seconds
B.30 seconds
C.40 seconds
D.5 seconds
AnswerA

Correct. OSPF default hello interval on Ethernet is 10 seconds.

Why this answer

The default OSPF hello interval on an Ethernet (broadcast multi-access) link is 10 seconds, as defined in RFC 2328. This interval determines how often a router sends Hello packets to discover and maintain neighbor relationships. The correct answer is A because Ethernet is a broadcast network type, which uses a 10-second hello interval by default.

Exam trap

Cisco often tests the distinction between broadcast and NBMA network types, where candidates confuse the 30-second hello interval of NBMA with the 10-second default for Ethernet.

How to eliminate wrong answers

Option B (30 seconds) is wrong because 30 seconds is the default hello interval for OSPF on non-broadcast multi-access (NBMA) networks, such as Frame Relay, not Ethernet. Option C (40 seconds) is wrong because 40 seconds is the default dead interval (4 times the hello interval) on broadcast networks, not the hello interval itself. Option D (5 seconds) is wrong because 5 seconds is the default hello interval for OSPF on point-to-point links, not Ethernet broadcast links.

39
Matchingmedium

Drag and drop each OSPF LSA type on the left to its matching description on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Describes a router's directly attached links and interfaces

Generated by the DR to list all routers on a multiaccess segment

Advertises inter-area prefixes between areas

Advertises the location of an ASBR to other areas

Advertises external routes redistributed into OSPF

Why these pairings

LSA Type 1 (Router LSA) describes a router's own interfaces and links. Type 2 (Network LSA) is generated by the DR to describe all routers on a multiaccess network. Type 3 (Summary LSA) advertises networks from one area to another.

Type 4 (ASBR Summary LSA) advertises the location of an ASBR. Type 5 (AS External LSA) advertises external routes redistributed into OSPF.

40
MCQmedium

Examine the following configuration for a Cisco IOS-XE device: interface GigabitEthernet0/0 ip address 10.0.0.1 255.255.255.252 ipv6 address 2001:db8::1/64 ipv6 ospf 1 area 0 ! interface GigabitEthernet0/1 ip address 192.168.1.1 255.255.255.0 ipv6 address 2001:db8:1::1/64 ipv6 ospf 1 area 0 ! ipv6 router ospf 1 router-id 2.2.2.2 Which statement is true about OSPFv3 operation?

A.OSPFv3 will form adjacencies over both interfaces using the configured IPv6 addresses.
B.OSPFv3 will form adjacencies over both interfaces using link-local addresses.
C.OSPFv3 will only run on GigabitEthernet0/0 because the router-id is not configured for GigabitEthernet0/1.
D.OSPFv3 requires an explicit network command under the OSPFv3 process to enable on interfaces.
AnswerB

Correct. OSPFv3 always uses link-local addresses for neighbor communication. The global addresses are used for routing.

Why this answer

OSPFv3 runs per interface and uses link-local addresses for neighbor discovery. The router-id is required and must be unique. Both interfaces are in area 0.

41
Drag & Dropmedium

Drag and drop the steps of OSPFv3 IPv6 neighbor adjacency formation into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

OSPFv3 neighbor formation follows the same state machine as OSPFv2: Down, Init, 2-Way, ExStart, Exchange, Loading, Full. The steps reflect the key actions at each state.

42
Matchingmedium

Drag and drop each OSPF router role on the left to its matching function on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Generates Type 2 Network LSA and maintains full adjacencies with all routers on the segment

Becomes DR if the current DR fails; also maintains full adjacencies

Forms adjacencies only with DR and BDR; does not form full adjacencies with other DROTHERs

Redistributes routes from other routing protocols into OSPF

Connects two or more OSPF areas and advertises inter-area routes

Why these pairings

DR (Designated Router) generates Network LSAs and manages adjacencies on multi-access networks; BDR (Backup DR) takes over if the DR fails; DROTHER routers form full adjacencies only with DR and BDR; ASBR redistributes routes from other protocols; ABR connects multiple areas.

43
Drag & Dropmedium

Drag and drop the steps of OSPF SPF calculation steps (Dijkstra) into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

The Dijkstra SPF algorithm first initializes the candidate list with the root router itself. It then examines the root's neighbors, adding them to the candidate list. The router with the lowest cost is moved from candidate to the SPF tree.

The process repeats by examining the newly added router's neighbors and updating the candidate list. Finally, when all routers are in the SPF tree, the algorithm terminates and the routing table is populated.

44
MCQhard

A network engineer issues the following command on Router R4: R4# show ip ospf database OSPF Router with ID (4.4.4.4) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 1.1.1.1 1.1.1.1 123 0x80000002 0x00A1B2 2 2.2.2.2 2.2.2.2 456 0x80000003 0x00B2C3 3 4.4.4.4 4.4.4.4 789 0x80000001 0x00C3D4 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 192.168.1.2 2.2.2.2 234 0x80000001 0x00D4E5 Based on this output, what can be concluded?

A.Router 2.2.2.2 is the Designated Router on the segment 192.168.1.0/24.
B.Router 1.1.1.1 has three OSPF-enabled interfaces.
C.Router 4.4.4.4 is the BDR on the segment.
D.There are multiple broadcast segments in area 0.
AnswerA

The Net Link State is originated by the DR, and the ADV Router is 2.2.2.2, so it is the DR.

Why this answer

The Net Link States entry shows the link ID 192.168.1.2 (the DR's interface IP) and ADV Router 2.2.2.2, which indicates that router 2.2.2.2 is the Designated Router (DR) on the 192.168.1.0/24 segment. In OSPF, only the DR originates the Type 2 (Network LSA) for a broadcast segment, so the advertising router in the Net Link States is always the DR.

Exam trap

Cisco often tests the misconception that the ADV Router in a Net Link State is the router that owns the IP address in the Link ID field, when in fact it is always the DR on that segment.

How to eliminate wrong answers

Option B is wrong because the Router Link States show a link count of 2 for router 1.1.1.1, meaning it has exactly two OSPF-enabled interfaces, not three. Option C is wrong because the output does not include any information about the BDR; the Net Link States only identifies the DR (2.2.2.2), and there is no separate BDR field in the OSPF database output. Option D is wrong because only one Net Link State entry is present (for 192.168.1.0/24), which indicates a single broadcast segment in area 0; multiple broadcast segments would produce multiple Type 2 LSAs.

45
Drag & Dropmedium

Drag and drop the steps of EIGRP redistribution from OSPF with metric seeding into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

First, the EIGRP routing process must be entered. Then, the redistribute command is used with the OSPF process and a metric. Optionally, route-map filtering can be applied.

Finally, verification ensures routes appear in the EIGRP topology table.

46
Drag & Dropmedium

Drag and drop the steps of OSPF summarization at ABR configuration steps into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

Summarization on an ABR uses the area range command to aggregate prefixes. The order is: identify prefixes, configure range, verify, and optionally suppress more specific routes.

47
Multi-Selectmedium

Which two statements about OSPF network types are true? (Choose two.)

Select 2 answers
A.On a broadcast multiaccess network, OSPF elects a DR and BDR to reduce LSA flooding.
B.The OSPF point-to-point network type requires a DR/BDR election.
C.On a non-broadcast multiaccess (NBMA) network, OSPF can use the neighbor command to manually discover neighbors.
D.The OSPF point-to-multipoint network type always elects a DR.
E.The default OSPF network type for a loopback interface is point-to-point.
AnswersA, C

Correct because on broadcast networks (e.g., Ethernet), a Designated Router (DR) and Backup DR are elected to minimize the number of adjacencies and flooding.

Why this answer

OSPF network types control how adjacencies are formed and how LSAs are flooded. Broadcast and non-broadcast types require a DR/BDR election, while point-to-point and point-to-multipoint do not. The loopback interface defaults to loopback network type, not point-to-point.

48
Matchingmedium

Drag and drop each OSPF LSA type on the left to its matching description on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Describes the router's own directly connected links and neighbors

Generated by the Designated Router to describe all routers attached to a multi-access segment

Advertises networks from one area into another area (inter-area routes)

Advertises the location of an Autonomous System Boundary Router (ASBR)

Advertises routes redistributed from another routing domain (external routes)

Why these pairings

LSA Type 1 (Router LSA) describes a router's own links; Type 2 (Network LSA) is generated by the DR; Type 3 (Summary LSA) advertises inter-area routes; Type 4 (ASBR Summary LSA) advertises the location of an ASBR; Type 5 (AS External LSA) advertises external routes.

49
Drag & Drophard

Drag and drop the steps of OSPF virtual link configuration across area 0 into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Why this order

Virtual links require area 0 transit area, and must be configured on both ABRs. The steps ensure proper connectivity: identify endpoints, configure on each router, and verify.

Ready to test yourself?

Try a timed practice session using only OSPF questions.