Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Multiple Choice Questions

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
View Answer
A

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]
View Answer
A

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
View Answer
C

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
View Answer
D

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
View Answer
C

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
View Answer
B

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
View Answer
B

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
View Answer
A

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
View Answer
C

Q1110: What metric does OSPFv2 use to determine the best path in a network?
  • A: Delay
  • B: Bandwidth
  • C: Cost
  • D: Latency
View Answer
C

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now