CCNA Practice Quiz OSPF v2

mcq quiz computer fundamentals

This quiz section contains a CCNA practice quiz on OSPF v2.  You can test your skills on the functionalities of OSPF v2. The following quiz section contains multiple-choice questions, drag and drops as well as “refer to the exhibit” questions as per the CCNA 200-301 Exam pattern. 

The CCNA practice quiz is very helpful for the preparation for CCNA 200-301 certification exam.

Each question is provided with the correct answer and an explanation for the correct answer. Click on the button named “Answer” just below the question to view the answer and the explanation. You can hide the answer and the explanation by re-clicking the “Answer” button.


CCNA  Practice Quiz – OSPF v2


1. The acronym for OSPF is _______.

  1. Open Software Path First
  2. Open Shortest Path First
  3. Open Shortcut Protocol First
  4. Open Software Protocol Field

Answer: Option A

Explanation: The correct option is A.

2. Which of the following algorithm is used by OSPF to determine the best path from source to destination?

  1. Bellmon Ford algorithm
  2. Diffusing update algorithm
  3. Dijkstra’s algorithm
  4. All of the above

Answer: Option C

Explanation: The correct option is C.
Dijkstra’s algorithm was introduced by Dutch Scientist Edsger W. Dijkstra in 1956. It is used to find the shortest path between the two nodes.

3. Which of the following parameters are compulsory to configure OSPF v2 on an active router interface? Choose any two.

  1. OSPF md5 authentication keys
  2. OSPF stub flag
  3. OSPF area
  4. OSPF process id

Answer: Options C and D

Explanation: The correct options are C and D.
OSPF Process id and the OSPF area are the mandatory parameters while configuring OSPF on a router interface.
For example, when configuring OSPF with area 0 and the process id 1 with the network number  192.168.1.0/24, the following sequence of commands needs to be run.
Router(config)#router ospf 1
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0

4. Which of the following statements are not true regarding the configuration of OSPF routing protocols? Choose any two.

  1. OSPF area must be mentioned in the Network command.
  2. Two OSPF neighbours can have different process ids.
  3. In the case of a multi-area OSPF network, all ABR ( Area Border Router) must be connected to area 0 ABR.
  4. Single area  OSPF network must use area O.
  5. The area number and the process id must be the same.

Answer: Options D and E.

Explanation: The correct answers are D and E.
For a single area OSPF network, we can use any area number ranging from 0 to 4294967295.
The area number and the OSPF process-id must not be the same while configuring OSPF.

5. Which of the following statements describe the characteristics of OSPF routing protocols? Choose any three.

  1. OSPF supports VLSM.
  2. Its configuration is more complex than RIP.
  3. It can be used between two different autonomous systems.
  4. It allows extensive control of routing updates.
  5. Its administrative distance value is 90.

Answer: Options A, B and D.

Explanation: The correct options are A, B and D.
The OSPF is configured with a single autonomous system (AS).
The administrative distance of OSPF is 110.
6.Refer to the exhibit. Which of the following address is used by the router R1 as its OSPF router-ID?

ccna quiz ospf v2

  1. 192.168.1.1
  2. 10.10.10.2
  3. 10.10.10.1
  4. 192.168.10.10

Answer: Option D

Explanation: The correct option is D.
Loopback address  is used as  OSPF router-ID. The loopback address is 192.168.10.10.
7. What are the benefits of using hierarchical design for a larger OSPF network?

  1. helps to confine network instability to single areas of the network.
  2. reduces routing overhead.
  3. reduces the complexities of router configuration.
  4. It decreases latency by increasing bandwidth.
  5. reduces convergence time.

Answer: Options A, B and E.

Explanation: The correct answers are options A, B and E.
The hierarchical design of the OSPF network helps to segregate a larger network into a smaller network. Each separate can be grouped into a separate area. The smaller area helps to reduce routing overhead, reduces convergence time and confines network instability to a single area.

8. What is the value of the administrative distance of OSPF?

  1. 90
  2. 100
  3. 110
  4. 120

Answer: Option C

Explanation: The correct answer is option C.
Route  Default AD
Directly connected interface 0
Static routing 1
EIGRP 90
OSPF 110
RIP 120
External EIGRP 170
Unknown destination 255

9. A network administrator configures OSPF routing in a router with the following command. However, when he adds the new router to the OSPF network, other OSPF router doesn’t show the newly added network in their routing table. What is wrong with the command below?

Router(config)#router ospf 1

Router(config-router)#network 20.0.0.0 255.0.0.0 area 0

 

  1. OSPF process id is incorrect.
  2. The area is not configured correctly.
  3. The wild card mask is configured incorrectly.
  4. The network id is incorrect.

Answer: Option C

Explanation: The correct answer is option C.
The wild card mask is configured incorrectly. The wild card mask is the inverse of the subnet mask. OSPF configuration used a wildcard mask instead of a subnet mask.

10.Which of the following are the correct way of configuring OSPF in a router and add network number 10.10.10.0/24 to area 0? Choose any two.

  1. Router(config)#router ospf  0
  2. Router(config)#router ospf 1
  3. Router(config-router)#network 10.10.10.0 255.255.255.0 area 0
  4. Router(config-router)#network 10.10.10.0 0.255.255.255 area 0
  5. Router(config-router)#network 10.10.10.0 0.0.0.255 area 0

Answer: Options B amd E

Explanation: The correct answers are B and E.
The correct command to configure the OSPF to add network number 10.10.10.0/24  to area 0 is as-
Router(config)#router OSPF
Router(config-router)network 10.10.10.0 0.0.0.255 area 0

11. Which version of OSPF is used by the IPv6 address?

  1. OSPF  v2
  2.  OSPF v3
  3. OSPF v4
  4. OSPF v5
  5. OSPF v6

Answer: Option B

Explanation: The correct answer is option B.

12. Which of the following multicast address is used by the OSPF Hello protocol?

  1. 224.0.0.5
  2. 224.0.0.7
  3. 224.0.0.8
  4. 224.0.0.9

Answer: Option A

Explanation: The correct option is A.

13. What do you call an OSPF router that connects the internal OSPF router with the network outside OSPF autonomous system?

  1. External router
  2. Border router
  3. The autonomous system boundary router
  4. Backbone router

Answer: Option C

Explanation: The correct option is C.

The autonomous system boundary router or ASBR connects the internal OSPF router with the router outside the OSPF AS.

14. Which of the following does not belong to a type of OSPF packet?

  1. Hello packet
  2. Link state update
  3. Link state response
  4. Link state request

Answer: Option C

Explanation: The correct option is C.
The link-state response is not a valid OSPF Packet. There are five different types of OSPF packets namely Hello packet, Data description, link-state request, link-state update, and link-state acknowledgement.

15. The two adjacent OSPF routers exchange Hello packet between them to establish a neighbour adjacency. Which of the two values in the Hello packet must match with both the routers in order to establish a neighbour adjacency.

  1. Router id
  2. Dead interval
  3. Router priority
  4. Hello intervals

Answer: Options B and D

Explanation: The correct options are B and D. 

16. What are the default OSPF hello and dead timers on an Ethernet connection?

  1. Hello: 2 seconds; Dead: 20 seconds
  2. Hello: 10 seconds; Dead: 40 seconds
  3. Hello: 30 seconds; dead: 60 seconds
  4. Hello: 60 seconds; Dead: 60 seconds

Answer: Option B

Explanation: The correct option is B.

17. Which of the followings OSPF command is used to determine that two adjacent OSPF routers have exchanged information in order to build a neighbour relationship?

  1. show ip ospf neighbor
  2. show ip interface brief
  3. show interface
  4. show ip route

Answer: Option A

Explanation: The correct answer is A.

18.What is the default router priority value for all OSPF router?

  1. 0
  2. 1
  3. 20
  4. 255

Answer: Option B

Explanation: The correct option is B.
The router priority value ranges from 0 to 255. The default priority value for all cisco routers is 1. The priority value is needed while selecting DR and BDR.

19. When DR and BDR election is needed in the OSPF network?

  1. when all the OSPF routers in an area cannot form a neighbour adjacency.
  2. when two adjacent OSPF routers are interconnected over a point to point link.
  3. when the routers are connected over the common Ethernet link.
  4. None of the above.

Answer: Option C

Explanation: The correct option is C.

20. A network administrator has to configure a single-area OSPF router with network number 192.168.10.0/30. What would be the wildcard mask that jas to be stated on the OSPF network command?

  1. 0.0.0.255
  2. 0.0.0.30
  3. 0.0.0.3
  4. 0.0.0.2

Answer: Option C

Explanation: The correct option is C.
The network id 192.168.10.0 has network bits 24. Hence the subnet mask will be 255.255.255.252. The wild card mask is the inverse of the subnet mask. The wild card mask will be 0.0.0.3.

← Prev Next →

You may like to try other  MCQ Quizzes

MCQ – Computer Networking

MCQ – Computer Hardware

MCQ – Network Security

MCQ – CCNA 200-301 Practice Quiz

Leave a Reply