Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q931: Fill in the blank: In link-state routing, each router builds a __________ containing the state of each directly connected link.
- A: Link-State Packet (LSP)
- B: Routing Table
- C: Hello Packet
- D: Topology Map
View Answer
A
Q932: What is the purpose of the SPF algorithm in link-state routing?
- A: To construct a complete map of the topology
- B: To send Hello packets to neighbors
- C: To configure static routes
- D: To exchange LSPs with neighbors
View Answer
A
Q933: Fill in the blank: Each router uses the __________ to compute the best path to each destination network.
- A: Link-State Packet (LSP)
- B: Local database
- C: Topology Map
- D: SPF Algorithm
View Answer
D
Q934: Which protocol is used by link-state routers to discover neighbors on its links?
- A: Hello Protocol
- B: Routing Protocol
- C: Link-State Protocol
- D: Address Resolution Protocol (ARP)
View Answer
A
Q935: Fill in the blank: The process of link-state routing involves flooding LSPs to all neighbors until all routers in the __________ have received the LSPs.
- A: Area
- B: Network
- C: Subnet
- D: Link
View Answer
A
Q936: What happens if a router stops receiving Hello packets from a neighbor?
- A: The neighbor is considered unreachable
- B: The router ignores the packets
- C: The adjacency is established
- D: The LSP is deleted from the database
View Answer
A
Q937: Fill in the blank: Each router in a link-state protocol builds a map of the __________ and computes the best path to each network.
- A: Topology
- B: Routing Table
- C: Neighbors
- D: Network
View Answer
A
Q938: What is the purpose of exchanging Hello packets between link-state routers?
- A: To form an adjacency and keepalive function
- B: To flood LSPs to all neighbors
- C: To calculate the SPF algorithm
- D: To configure static routes
View Answer
A
Q939: Fill in the blank: The Link-State Packet (LSP) contains information such as __________, link type, and bandwidth.
- A: Neighbor ID
- B: Routing Table
- C: IP Address
- D: Subnet Mask
View Answer
A
Q940: What does a router do with the LSPs it receives from neighbors?
- A: Stores them in a local database
- B: Directly uses them to configure routes
- C: Deletes them after processing
- D: Forwards them without storing
View Answer
A