An OSPF router has two paths to the same destination, with total costs of 24 and 18. Which path does OSPF prefer?
4 Route Selection and Troubleshooting Online Quiz Questions
Use this free practice quiz with 20 questions to review 4 Route Selection and Troubleshooting, test your knowledge, and prepare for your next test or exam.
True or false: If both a /16 and a /24 route match a destination, the /24 route is selected for forwarding even when the /16 route has a lower administrative distance.
- A
True
- B
False
In the Cisco IOS route entry O 10.20.0.0/16 [110/25], the administrative distance is and the metric is .
Which Cisco IOS command can you use to inspect the route used for destination 10.20.1.7?
Which actions belong in a sound route-selection check for a packet? Select all that apply.
- A
List the installed routes whose prefixes contain the destination.
- B
Choose the most specific matching prefix.
- C
Compare administrative distances before checking which prefixes match.
- D
Verify that the selected route has a resolving next hop and an available outgoing interface.
A router has installed routes for 10.20.0.0/16, 10.20.1.0/24, and 0.0.0.0/0. Which route does it use to forward a packet destined for 10.20.1.7?
- A
10.20.0.0/16, because it has the lower administrative distance
- B
0.0.0.0/0, because a default route is available
- C
10.20.1.0/24, because it is the most specific matching route
- D
No route, because the /24 route has a higher administrative distance
True or false: If a destination matches neither a router's /16 route nor its /24 route, an installed default route may be used.
- A
True
- B
False
When different sources offer routes to the same prefix, the router prefers the source with the administrative distance.
What is the common Cisco IOS default administrative distance for RIP? Enter the value as a number.
An expected OSPF route is missing from the routing table. Which checks can help investigate neighbor state or whether the route is present in the OSPF database? Select all that apply.
- A
Use
show ip ospf neighborto check neighbor state. - B
Use the RIP metric to determine whether OSPF installed the route.
- C
Use OSPF interface commands as part of diagnosing the issue.
- D
Use OSPF database commands to check whether the route is present in the database.
After selecting the most-specific matching route for a destination, what must you verify before concluding the router can use it?
- A
Confirm only that the selected route has the lowest administrative distance in the table.
- B
Confirm that the next hop resolves and the outgoing interface is available.
- C
Replace the selected route with the route having the highest prefix length, whether or not it matches.
- D
Compare its metric directly with metrics from every other routing protocol.
Explain the difference between a routing protocol's metric and administrative distance. Include how each is used and why an OSPF cost should not be directly compared with a RIP metric.
True or false: A router may install multiple equal-cost paths when its platform supports doing so.
- A
True
- B
False
Which Cisco IOS command checks OSPF neighbor state?
In the Cisco IOS entry O 10.20.0.0/16 [110/25], what is the OSPF metric?
- A
The metric is 110.
- B
The metric is 25.
- C
The administrative distance is 25.
- D
The prefix length is 25.
When OSPF compares paths to the same destination, what metric criterion determines its preferred path?
A router learns a route to the same destination through OSPF with cost 20 and through RIP with metric 2. Can it directly compare these metric values to choose between the routes?
- A
Choose the route with metric 2 because a smaller metric is always better.
- B
Choose the route with metric 20 because OSPF costs are always preferred.
- C
Do not compare the metrics directly; use the applicable route-source selection rules.
- D
Add the two metrics and choose the route with the larger sum.
A Cisco IOS router has a static route and an OSPF route for the same prefix. They have their default administrative distances. Which route source is preferred for installation?
- A
The static route, because its administrative distance is lower.
- B
The OSPF route, because dynamic routes are always preferred.
- C
The OSPF route, because its metric is compared directly with the static route's administrative distance.
- D
Neither route, because routes from different sources cannot be installed.
Which Cisco IOS command helps inspect the route used for destination 10.20.1.7?
- A
show ip ospf neighbor 10.20.1.7 - B
show ip route ospf - C
show ip route 10.20.1.7 - D
show ip route metric 10.20.1.7
A routing table contains 10.20.0.0/16 via static routing with AD 1, 10.20.1.0/24 via OSPF with AD 110, and a static default route. Which route is selected for destination 10.20.1.7?
- A
The static
10.20.0.0/16route, because its administrative distance is lower. - B
The OSPF
10.20.1.0/24route, because it is the longest matching prefix. - C
The static default route, because its administrative distance is lower.
- D
No route, because the matching routes have different sources.
Related study packs and tools
- Study guide
1 Layer 2 Switching Fundamentals
Learn how Layer 2 switches learn MAC addresses and forward Ethernet frames within VLANs, including flooding, filtering, and common forwarding scenarios.
CCNA VLANs and SwitchingUpdated - Quiz
2 Users, Groups, and Roles
A medium-difficulty quiz on choosing and configuring IAM users, groups, and roles for common access needs.
AWS IAM and SecurityUpdated - Flashcards
2 VLAN Configuration
Learn how VLANs separate Layer 2 broadcast domains, how to assign and verify access ports, and how to troubleshoot common configuration issues.
CCNA VLANs and SwitchingUpdated - Study guide
2 VLAN Configuration
Learn how to create VLANs on Cisco switches, assign end-device ports, verify the configuration, and troubleshoot common connectivity problems.
CCNA VLANs and SwitchingUpdated - Flashcards
3 Trunk Configuration
Review how to configure, verify, and troubleshoot an IEEE 802.1Q trunk carrying multiple VLANs between switches.
CCNA VLANs and SwitchingUpdated - Quiz
3 Trunk Configuration
A medium-difficulty quiz on configuring, verifying, and troubleshooting IEEE 802.1Q trunks.
CCNA VLANs and SwitchingUpdated - Study guide
3 Trunk Configuration
Learn how IEEE 802.1Q trunks carry VLAN traffic between switches, how to configure matching trunk settings, and how to verify and troubleshoot connectivity.
CCNA VLANs and SwitchingUpdated - Flashcards
4 Multi-Factor Authentication
Learn how multi-factor authentication works in AWS, how to configure and use it safely, and what it does—and does not—protect.
AWS IAM and SecurityUpdated - Quiz
4 Multi-Factor Authentication
Assess understanding of multi-factor authentication, authenticator choices, secure sign-in, IAM configuration, and the distinction between authentication and authorization.
AWS IAM and SecurityUpdated - Flashcards
4 Spanning Tree Protocol
Learn how STP prevents Layer 2 loops, selects a loop-free topology, and protects the network with port roles and safeguards.
CCNA VLANs and SwitchingUpdated - Quiz
4 Spanning Tree Protocol
A medium-difficulty quiz on STP loop prevention, root and port selection, VLAN-specific operation, configuration, and troubleshooting.
CCNA VLANs and SwitchingUpdated - Study guide
4 Spanning Tree Protocol
Understand how Spanning Tree Protocol prevents Layer 2 loops, selects active and standby paths, and how to inspect and protect a VLAN’s spanning-tree topology.
CCNA VLANs and SwitchingUpdated