Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Chapter: 97
Q1121:
Fill in the blank: To ensure accurate routing, the OSPF cost should reflect the actual ____ of the link.
A. Latency
B. Bandwidth
C. Delay
D. Distance
Correct Answer:
B
Chapter: 97
Q1122:
What is the default OSPF cost of a FastEthernet interface when the reference bandwidth is 100 Mb/s?
A. 10
B. 100
C. 1
Correct Answer:
C
Chapter: 97
Q1123:
Fill in the blank: The OSPF metric is designed to measure the overhead and ____ required to send packets across an interface.
A. Time delay
B. Network latency
C. Power consumption
D. Transmission rate
Correct Answer:
A
Chapter: 98
Q1124:
What command is used to verify that a router has formed an OSPF adjacency with its neighbors?
A. show ip ospf
B. show ip route
C. show ip ospf neighbor
D. show interfaces
Correct Answer:
C
Chapter: 98
Q1125:
Fill in the blank: If the OSPF adjacency state is not ____ , the routers have not formed an OSPF adjacency.
A. FULL
B. 2WAY
C. INIT
D. DOWN
Correct Answer:
A
Chapter: 98
Q1126:
Which of the following can prevent two routers from forming an OSPF adjacency?
A. Matching subnet masks
B. Correct OSPF network command
C. Incorrect OSPF Hello timers
D. Identical LSDBs
Correct Answer:
C
Chapter: 98
Q1127:
Fill in the blank: Incomplete LSDBs can cause inaccurate ____ trees and routing tables.
A. Spanning
B. Shortest Path First
C. Route
D. Dijkstra
Correct Answer:
B
Chapter: 98
Q1128:
What is the purpose of the "Pri" value in the OSPF neighbor table?
A. To identify the router ID
B. To determine interface speed
C. For DR and BDR election
D. To calculate route cost
Correct Answer:
C
Chapter: 98
Q1129:
Which command provides a detailed list of every OSPF-enabled interface?
A. show ip ospf
B. show ip ospf interface
C. show interfaces
D. show ip route
Correct Answer:
B
Chapter: 98
Q1130:
Fill in the blank: The ____ time indicates how long a router will wait to receive an OSPF Hello packet before declaring the neighbor down.
A. Alive
B. Wait
C. Dead
D. Hold
Correct Answer:
C
Chapter: 98
Q1131:
Which command gives a summary of all OSPF-enabled interfaces?
A. show ip ospf summary
B. show ip ospf interface brief
C. show ip route summary
D. show ospf interface
Correct Answer:
B
Chapter: 98
Q1132:
What does the OSPF "Neighbor ID" represent?
A. Interface address
B. Router ID of the neighboring router
C. IP address of the interface
D. DR/BDR status
Correct Answer:
B
Chapter: 98
Q1133:
Which factor does NOT prevent OSPF adjacencies from forming?
A. Mismatched subnet masks
B. Mismatched network types
C. Missing or incorrect OSPF network command
D. Correct Dead Timer settings
Correct Answer:
D
Chapter: 98
Q1134:
Fill in the blank: OSPF adjacencies are formed over the ____ interface of the router.
A. GigabitEthernet
B. Loopback
C. Serial
D. Directly connected
Correct Answer:
D
Chapter: 98
Q1135:
Fill in the blank: The command "show ip ospf ____" provides a detailed list of OSPF-enabled interfaces.
A. routes
B. neighbors
C. interface
D. timers
Correct Answer:
C
Chapter: 99
Q1136:
What is the primary difference between OSPFv2 and OSPFv3?
A. OSPFv2 uses IPv4, OSPFv3 uses IPv6
B. OSPFv2 uses IPv6, OSPFv3 uses IPv4
C. OSPFv2 and OSPFv3 use different routing algorithms
D. OSPFv2 uses different packet types than OSPFv3
Correct Answer:
A
Chapter: 99
Q1137:
Fill in the blank: OSPFv3 uses ____ addresses to form neighbor adjacencies instead of global unicast addresses.
A. link-local
B. global unicast
C. private
D. multicast
Correct Answer:
A
Chapter: 99
Q1138:
What command is used to configure the router ID in OSPF?
A. router ospf
B. ospf router-id
C. ip ospf cost
D. ospf configuration
Correct Answer:
B
Chapter: 99
Q1139:
Fill in the blank: The OSPFv2 multicast address used for all OSPF routers is _____.
A. 224.0.0.5
B. FF02::5
C. 239.0.0.5
D. 255.255.255.255
Correct Answer:
A
Chapter: 99
Q1140:
Which protocol uses the link-local address of the exit interface as the source address for its messages?
A. OSPFv2
B. OSPFv3
C. BGP
D. EIGRP
Correct Answer:
B