Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Multiple Choice Questions

Q921: Which command is used to configure OSPF on a router?
  • A: router ospf process-id
  • B: router ospf
  • C: ospf config
  • D: config ospf
View Answer
A

Q922: Fill in the blank: The command __________ is used to advertise networks in OSPF.
  • A: network
  • B: advertise
  • C: ip ospf
  • D: router ospf
View Answer
A

Q923: What does the SPF algorithm use to determine the total cost of a route?
  • A: Accumulated costs along each path
  • B: Fixed cost for each hop
  • C: Randomly assigned costs
  • D: Pre-configured costs
View Answer
A

Q924: Fill in the blank: The basic functionality of link-state routing protocols can be configured using the __________ command.
  • A: router ospf
  • B: network
  • C: ospf-config
  • D: router-config
View Answer
A

Q925: Which routing protocol uses the Dijkstra SPF algorithm?
  • A: OSPF
  • B: RIP
  • C: EIGRP
  • D: BGP
View Answer
A

Q926: Fill in the blank: In link-state routing, each router calculates the SPF algorithm from its __________.
  • A: Own perspective
  • B: Neighbor's perspective
  • C: Central server's perspective
  • D: All routers' perspective
View Answer
A

Q927: What type of algorithm is the SPF algorithm classified as?
  • A: Shortest path algorithm
  • B: Routing table algorithm
  • C: Distance vector algorithm
  • D: Broadcast algorithm
View Answer
A

Q928: Fill in the blank: Link-state routing protocols are more __________ compared to distance vector protocols.
  • A: Complex
  • B: Simple
  • C: Efficient
  • D: Redundant
View Answer
A

Q929: Which of the following is NOT a step in OSPF configuration?
  • A: Configuring static routes
  • B: Using the network command
  • C: Defining router IDs
  • D: Enabling OSPF process
View Answer
A

Q930: What is the first step in the link-state routing process?
  • A: Learning about directly connected networks
  • B: Exchanging Hello packets
  • C: Building a Link-State Packet (LSP)
  • D: Flooding the LSP to all neighbors
View Answer
A

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now