CompTIA Network+ Network+ Routing Protocols and Concepts 2 — Questions and Answers
Question 1: OSPF calculates the best path using which algorithm?
- Bellman-Ford algorithm
- Dijkstra's Shortest Path First algorithm (Correct answer)
- Distance-vector algorithm
- Spanning Tree algorithm
Correct answer: Dijkstra's Shortest Path First algorithm
OSPF uses Dijkstra's Shortest Path First (SPF) algorithm to build a complete map of the network and calculate the lowest-cost path to each destination.
Question 2: What is the maximum hop count allowed in RIPv2 before a route is considered unreachable?
- 10
- 15 (Correct answer)
- 16
- 255
Correct answer: 15
RIPv2 allows a maximum hop count of 15; a hop count of 16 represents infinity and marks the route as unreachable.
Question 3: Which routing protocol divides networks into 'areas' to reduce routing overhead and improve scalability?
- RIPv2
- EIGRP
- OSPF (Correct answer)
- BGP
Correct answer: OSPF
OSPF uses a hierarchical area structure with Area 0 as the backbone, limiting LSA flooding and reducing the size of link-state databases in each area.
Question 4: Which two components does EIGRP use by default in its composite metric calculation?
- Hop count and delay
- Bandwidth and delay (Correct answer)
- Cost and reliability
- Bandwidth and reliability
Correct answer: Bandwidth and delay
EIGRP uses bandwidth and delay as its default metric components, though it can optionally include load, reliability, and MTU in the calculation.
Question 5: What does routing protocol 'convergence' describe?
- When all routers in the network have consistent, accurate routing information (Correct answer)
- When a router receives its first routing update after boot
- When multiple routing protocols are running on the same device
- When a network link transitions from up to down state
Correct answer: When all routers in the network have consistent, accurate routing information
Convergence is the state where all routers in a network have synchronized, accurate, and consistent routing tables reflecting the current network topology.
Question 6: Which routing protocol type sends its complete routing table to neighbors on a periodic timer?
- Link-state protocol
- Path-vector protocol
- Distance-vector protocol (Correct answer)
- Hybrid protocol
Correct answer: Distance-vector protocol
Distance-vector protocols like RIP periodically broadcast or multicast their entire routing table to directly connected neighbors.
Question 7: BGP is primarily used to exchange routing information between which entities?
- VLANs within a switched campus network
- Subnets within a single enterprise LAN
- Autonomous systems operated by different organizations (Correct answer)
- Wireless access points and their controllers
Correct answer: Autonomous systems operated by different organizations
BGP exchanges routing information between autonomous systems (identified by AS numbers), making it the routing protocol that powers the global internet.
OSPF calculates the best path using which algorithm?