Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Chapter: 96
Q1101:
Fill in the blank: To prevent sending OSPF updates on a specific interface, use the ____ command.
A. passive-interface
B. active-interface
C. disable-interface
D. ospf shutdown interface
Correct Answer:
A
Chapter: 96
Q1102:
Which command is used to assign a router to a specific OSPFv2 area?
A. network [ip-address wildcard-mask area-id]
B. assign ospf-area [area-id]
C. area-id [wildcard-mask area-ip]
D. config ospf area [ip-address wildcard-mask]
Correct Answer:
A
Chapter: 96
Q1103:
What is the significance of OSPFv2 Router ID?
A. Identifies the OSPF process
B. Defines the OSPF network boundary
C. Represents the router's unique identifier
D. Indicates the OSPF version
Correct Answer:
C
Chapter: 96
Q1104:
Fill in the blank: OSPFv2 uses the ____ algorithm to calculate the best path for routing.
A. Bellman-Ford
B. Shortest Path First (SPF)
C. Distance Vector
D. Dijkstra
Correct Answer:
D
Chapter: 96
Q1105:
What command is used to display the OSPF neighbors in a Cisco router?
A. show ip ospf
B. show ospf neighbors
C. show ip ospf neighbors
D. display ospf neighbors
Correct Answer:
C
Chapter: 96
Q1106:
What is the default area used for OSPFv2 configuration in a single area setup?
A. Area 1
B. Area 0
C. Area 2
D. Backbone
Correct Answer:
B
Chapter: 96
Q1107:
Which command allows OSPFv2 configuration to propagate routing information?
A. propagate ospf
B. network [ip-address wildcard-mask area-id]
C. ip ospf propagate
D. config ospf-propagation
Correct Answer:
B
Chapter: 96
Q1108:
Fill in the blank: OSPFv2 assigns each router a unique ____ to distinguish them from other routers.
A. Router ID
B. Area ID
C. OSPF ID
D. Network ID
Correct Answer:
A
Chapter: 96
Q1109:
Fill in the blank: The ____ algorithm used by OSPFv2 calculates the shortest path to a destination.
A. Shortest Path
B. Open Shortest Path First (OSPF)
C. Dijkstra
D. Link-State
Correct Answer:
C
Chapter: 97
Q1110:
What metric does OSPFv2 use to determine the best path in a network?
A. Delay
B. Bandwidth
C. Cost
D. Latency
Correct Answer:
C
Chapter: 97
Q1111:
Fill in the blank: The cost of an OSPFv2 interface is inversely proportional to the ____ of the interface.
A. Latency
B. Bandwidth
C. Delay
D. Distance
Correct Answer:
B
Chapter: 97
Q1112:
What is the default reference bandwidth used in OSPFv2 cost calculation?
A. 10^9 (1,000,000,000)
B. 10^8 (100,000,000)
C. 10^6 (1,000,000)
D. 10^10 (10,000,000,000)
Correct Answer:
B
Chapter: 97
Q1113:
Fill in the blank: The formula to calculate OSPFv2 cost is Cost = ____ / Interface bandwidth.
A. Total bandwidth
B. Maximum bandwidth
C. Reference bandwidth
D. Data rate
Correct Answer:
C
Chapter: 97
Q1114:
Which interface type has a higher OSPF cost, a 10 Mb/s Ethernet line or a 100 Mb/s Ethernet line?
A. 10 Mb/s Ethernet
B. 100 Mb/s Ethernet
C. Both have the same cost
D. Cannot be determined
Correct Answer:
A
Chapter: 97
Q1115:
Fill in the blank: The OSPF cost is calculated based on the accumulated value from one ____ to the destination network.
A. Router
B. Switch
C. Interface
D. Network
Correct Answer:
A
Chapter: 97
Q1116:
Which command is used to view the bandwidth setting of an interface in a Cisco router?
A. show running-config
B. show ip ospf neighbors
C. show ip ospf
D. show interfaces
Correct Answer:
D
Chapter: 97
Q1117:
What happens if the actual speed of an interface differs from the default bandwidth setting in OSPF?
A. OSPF will adjust the speed automatically
B. The OSPF metric may be inaccurate
C. The router ignores the difference
D. The cost is unaffected
Correct Answer:
B
Chapter: 97
Q1118:
Fill in the blank: On most Cisco routers, the default bandwidth of serial interfaces is set to ____ Mb/s.
A. 1.544
B. 10
C. 100
D. 1000
Correct Answer:
A
Chapter: 97
Q1119:
Which command manually configures the OSPF cost on an interface?
A. ip ospf cost
B. set interface bandwidth
C. ospf set-cost
D. config ospf cost
Correct Answer:
A
Chapter: 97
Q1120:
What advantage does configuring the OSPF cost manually have over setting the interface bandwidth?
A. It simplifies the network setup
B. The router does not have to calculate the cost
C. It speeds up network traffic
D. The router can automatically adjust routing
Correct Answer:
B