Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Chapter: 95
Q1081:
Which OSPF feature helps reduce the size of routing tables in large networks?
A. OSPF Passive Interfaces
B. OSPF Router ID
C. OSPF Areas
D. OSPF Authentication
Correct Answer: C
Chapter: 95
Q1082:
What is the function of the OSPF "passive-interface" command?
A. Prevent OSPF routing updates on an interface
B. Enable OSPF updates on a specific interface
C. Configure OSPF on passive routers
D. Block OSPF on all network interfaces
Correct Answer: A
Chapter: 95
Q1083:
Fill in the blank: The OSPF ____ assigns a unique identifier to each router in the area.
A. Router ID
B. Area ID
C. Subnet Mask
D. OSPF ID
Correct Answer: A
Chapter: 95
Q1084:
Which command is used to verify OSPF neighbors in a Cisco router?
A. show ip ospf
B. show ip ospf neighbors
C. show ospf process
D. show ospf routers
Correct Answer: B
Chapter: 95
Q1085:
What happens if two OSPF routers in the same area have the same router ID?
A. The router with the higher IP address becomes active
B. The routers establish a peer relationship
C. The routers will not form an OSPF neighbor relationship
D. The routers split traffic
Correct Answer: C
Chapter: 95
Q1086:
Fill in the blank: The OSPF process can be monitored using the ____ command.
A. show ip route
B. show ip ospf
C. show ospf status
D. show ip ospf interfaces
Correct Answer: B
Chapter: 95
Q1087:
Which OSPF configuration mode command assigns a router to a specific area?
A. router ospf area
B. network [ip-address wildcard-mask area-id]
C. ospf assign-area
D. config router ospf
Correct Answer: B
Chapter: 95
Q1088:
Fill in the blank: OSPF automatically calculates the best route based on ____ values.
A. Link state
B. Hop count
C. Cost
D. Bandwidth
Correct Answer: C
Chapter: 95
Q1089:
What is the significance of OSPF cost in routing?
A. Higher cost gives priority
B. Lower cost represents a faster route
C. It is based on packet loss
D. It is based on hop count
Correct Answer: B
Chapter: 95
Q1090:
Which command is used to change the OSPF cost of an interface?
A. ip ospf cost
B. config ospf cost
C. set ospf cost
D. change ospf route cost
Correct Answer: A
Chapter: 95
Q1091:
Fill in the blank: To remove an OSPF configuration from a router, the ____ command is used.
A. clear ospf process
B. no ospf
C. reset ospf
D. remove ospf
Correct Answer: B
Chapter: 95
Q1092:
What is the function of the OSPF "router-id" command?
A. Assigns an ID to the router
B. Sets the OSPF process priority
C. Configures the network area
D. Identifies OSPF neighbors
Correct Answer: A
Chapter: 95
Q1093:
Which OSPF feature minimizes unnecessary routing updates?
A. OSPF passive interface
B. OSPF router-id
C. OSPF active mode
D. OSPF authentication
Correct Answer: A
Chapter: 96
Q1094:
What protocol is used for configuring OSPFv2 in a single area?
A. BGP
B. OSPFv2
C. RIP
D. EIGRP
Correct Answer: B
Chapter: 96
Q1095:
Fill in the blank: OSPFv2 in a single area is commonly referred to as _____.
A. OSPF Area 0
B. Backbone Routing
C. Multi-area OSPF
D. OSPF Region
Correct Answer: A
Chapter: 96
Q1096:
Which command enables OSPFv2 configuration on a Cisco router?
A. enable ospf 2
B. router ospf 1
C. ip ospf 2
D. set ospf version 2
Correct Answer: B
Chapter: 96
Q1097:
What does the OSPF cost represent in a routing table?
A. Packet loss
B. Bandwidth
C. Delay
D. Interface speed
Correct Answer: B
Chapter: 96
Q1098:
Which command is used to verify the OSPFv2 configuration on a router?
A. show running-config
B. show ip ospf
C. verify ospf status
D. check ospf area status
Correct Answer: B
Chapter: 96
Q1099:
Fill in the blank: The OSPFv2 ____ command assigns a unique router ID to the device.
A. network
B. router-id
C. ospf config
D. id assign
Correct Answer: B
Chapter: 96
Q1100:
What is the role of the OSPFv2 "passive-interface" command?
A. Prevent routing updates on an interface
B. Allow routing updates on a specific interface
C. Block all incoming traffic
D. Prevent routing table changes on the interface
Correct Answer: A

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now