Courseiva

200-301 · topic practice

OSPF practice questions

Practise 200-301 CCNA 200-301 v2 OSPF questions covering neighbour states, router IDs, areas, timers, passive interfaces, OSPF cost, route selection, and command-output troubleshooting.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Reviewed byJohnson Ajibi· MSc IT Security

What the exam tests

What to know about OSPF

OSPF questions usually test neighbour formation, areas, router IDs, route preference, metrics and command-output interpretation.

How OSPF neighbours form and why adjacency can fail.

How router ID, area ID, timers, passive interfaces and authentication affect OSPF.

How OSPF cost influences route selection.

How to read show ip route and show ip ospf neighbor output.

Why learners struggle

Why OSPF questions are commonly missed

OSPF questions are often missed because learners confuse neighbour states, route selection rules, router IDs, areas, timers, and cost calculations. A question may look like it is testing OSPF, but the real decision may depend on administrative distance, route specificity, passive interfaces, DR/BDR behaviour, or command-output interpretation.

  • ·OSPF cost vs administrative distance — they measure different things and compare differently
  • ·2-Way vs FULL neighbour state — 2-Way is not always a failed adjacency
  • ·DR vs BDR vs DROTHER — election depends on network type and interface priority
  • ·Area mismatch vs timer mismatch — both prevent adjacency but for different reasons
  • ·Passive interface vs failed adjacency — passive interfaces intentionally suppress hello packets
  • ·Router ID selection — highest loopback address wins unless manually configured
  • ·show ip route OSPF codes — O, O IA, O E1, O E2 describe different route sources
  • ·OSPF external route types — E1 accumulates cost, E2 preserves the external cost only

Watch out for

Common OSPF exam traps

  • A matching network statement does not guarantee adjacency.
  • OSPF cost and administrative distance solve different problems.
  • Router ID may come from a loopback or manual configuration.
  • A route can exist in OSPF but still not become the installed route.

Practice set

OSPF questions

20 questions · select your answer, then reveal the explanation

Question 1mediumdrag order
Review the full OSPF breakdown →

Drag and drop the following steps into the correct order to configure a Cisco switch as a DHCP relay agent with DHCP snooping, where the DHCP server is located on a remote router.

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
Question 2mediumdrag order
Review the full OSPF breakdown →

Drag and drop the following steps into the correct order to configure a switch port for data and voice traffic.

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
Question 3mediummulti select
Review the full OSPF breakdown →

Which TWO statements about IPv4 and IPv6 ACLs are true?

Question 4hardmultiple choice
Review the full OSPF breakdown →

A network administrator is troubleshooting an IPv6 connectivity issue on a newly deployed router. The router's G0/0/0 interface is configured with an IPv6 address using EUI-64, but hosts on that subnet cannot reach the router's link-local address. The administrator runs 'show ipv6 interface g0/0/0' and sees that the interface is up/up but the IPv6 address is not in the expected format. What is the most likely cause of the problem?

Exhibit

Router# show ipv6 interface g0/0/0
GigabitEthernet0/0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::21A:2BFF:FE3C:4D5E
  No global unicast address is configured
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF3C:4D5E
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 30000)
  ND advertised reachable time is 0 (unspecified)
  ND advertised retransmit interval is 0 (unspecified)
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  ND advertised default router preference is Medium
  Hosts use stateless autoconfiguration for addresses.
Question 5mediummultiple choice
Review the full OSPF breakdown →

A network administrator is configuring a new Windows workstation on a small office network that uses IPv4 addressing. The workstation must be able to communicate with devices on other subnets and resolve hostnames via a company DNS server at 10.10.10.5. The administrator has already set the IP address to 10.10.10.10 and the subnet mask to 255.255.255.0. Which additional parameter must be configured to meet both requirements?

Question 6hardmultiple choice
Review the full OSPF breakdown →

A user reports that their computer cannot access the network. The technician checks the computer's IP configuration and finds an APIPA address (169.254.x.x). The computer is connected to a switch port on VLAN 20. The DHCP server is located on VLAN 1. The technician then examines the router's interfaces using 'show ip interface brief' and sees that all interfaces shown are up/up. What should the technician do next?

Question 7mediummultiple choice
Review the full OSPF breakdown →

A network administrator at a large enterprise notices that the network monitoring system frequently generates false positive alerts for unusual traffic patterns during normal business hours. The administrator wants to reduce these false positives while still detecting genuine security threats. Which AI/ML concept would best address this requirement?

Question 8hardmultiple choice
Review the full OSPF breakdown →

Based on the exhibit, why are clients in VLAN 70 failing to resolve hostnames even though they can reach remote IP addresses?

Exhibit

VLAN 70 DHCP scope:
 network 10.70.70.0 255.255.255.0
 default-router 10.70.70.1

Client tests:
- ping 192.0.2.50 = success
- open http://192.0.2.50 = success
- open http://portal.branch.lab = fail
Question 9hardmultiple choice
Review the full OSPF breakdown →

A network administrator is troubleshooting a connectivity issue between two remote sites connected via a WAN link. Hosts on VLAN 10 at Site A (192.168.10.0/24) cannot ping the server at Site B (10.10.20.100). The router at Site A has a default route configured with the next-hop IP address 10.10.10.2. The administrator checks the routing table on Router A and notices that the default route is not installed. What is the most likely cause of the problem?

Exhibit

RouterA# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is 10.10.10.2 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 10.10.10.2, GigabitEthernet0/0
      10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C        10.10.10.0/30 is directly connected, GigabitEthernet0/0
L        10.10.10.1/32 is directly connected, GigabitEthernet0/0
S        10.10.20.0/24 [1/0] via 10.10.10.2, GigabitEthernet0/0
      192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.10.0/24 is directly connected, Vlan10
L        192.168.10.1/32 is directly connected, Vlan10
Question 10hardmultiple choice
Review the full OSPF breakdown →

Based on the exhibit, which action is most likely required to allow AP-22 to join the controller successfully?

Exhibit

AP-22 status:
- Ethernet link: up
- IP address: 10.75.22.18/24
- Default gateway: 10.75.21.1
- Controller: 10.75.22.5
- Other APs joined: yes
Question 11hardmultiple choice
Review the full OSPF breakdown →

Based on the exhibit, why is traffic to host 198.51.100.70 using the OSPF route instead of the static route?

Exhibit

R1# show run | include ^ip route
ip route 198.51.100.0 255.255.255.0 192.0.2.2

R1# show ip route
O    198.51.100.64/26 [110/20] via 192.0.2.6, GigabitEthernet0/1
S    198.51.100.0/24 [1/0] via 192.0.2.2

Destination being tested: 198.51.100.70
Question 12hardmultiple choice
Review the full OSPF breakdown →

A router has the following routes in its table: 172.16.0.0/16, 172.16.20.0/24, and 172.16.20.128/25. Which route is used for traffic to 172.16.20.200?

Question 13mediummulti select
Review the full OSPF breakdown →

Which TWO statements correctly describe the behavior of standard ACLs and their placement on interfaces?

Question 14hardmultiple choice
Review the full OSPF breakdown →

A router has both an OSPF route and a static route to the same destination. The static route has an administrative distance of 200. What is the expected behavior while the OSPF route remains available?

Question 15mediummulti select
Review the full OSPF breakdown →

A branch router is running single-area OSPF. An engineer wants an interface to advertise its connected network into OSPF but must prevent hello packets from being sent on that LAN segment. Which two actions achieve that goal?

Question 16hardmulti select
Review the full OSPF breakdown →

A router has learned route 172.16.50.0/24 from OSPF with cost 20 and also has a static route to the same prefix with administrative distance 5. Which two statements are correct about route selection?

Exhibit

Routing information sources:
O 172.16.50.0/24 [110/20] via 10.1.1.2
S 172.16.50.0/24 [5/0] via 192.0.2.1
Question 17hardmultiple choice
Review the full OSPF breakdown →

After a hub was connected to interface Gi0/10, the interface immediately entered errdisable state. The following syslog message was generated: '%PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred on interface Gi0/10.' What is the strongest explanation for why Gi0/10 shut down?

Exhibit

interface GigabitEthernet0/10
 switchport mode access
 switchport port-security
 switchport port-security maximum 1
 switchport port-security violation shutdown

Event:
%PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC addresses ... on port Gi0/10.
Question 18hardmultiple choice
Review the full OSPF breakdown →

A route to 10.10.10.0/24 is learned through two OSPF paths. Both have the same prefix length and the same administrative distance, but one path has a lower OSPF metric. Which path is preferred?

Question 19hardmultiple choice
Review the full OSPF breakdown →

An IPv6 host successfully reaches neighbors on its local segment, but it cannot reach remote IPv6 destinations. The host has a global unicast address and a correct prefix length. Which missing item is the strongest suspect?

Question 20mediummulti select
Review the full OSPF breakdown →

Which TWO commands can a network technician use on a modern Linux host to verify the IP address configuration and test reachability to a remote server?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused OSPF sessions

Start a OSPF only practice session

Every question in these sessions is drawn from the OSPF domain — nothing else.

Related practice questions

Related 200-301 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the 200-301 exam test about OSPF?
OSPF questions usually test neighbour formation, areas, router IDs, route preference, metrics and command-output interpretation.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just OSPF questions in a focused session?
Yes — the session launcher on this page draws every question from the OSPF domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other 200-301 topics?
Use the topic links above to move to related areas, or go back to the 200-301 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the 200-301 exam covers. They are not copied from any real exam or dump site.