A router has a static route and a RIP route for the same destination prefix. What is the primary reason the static route is preferred over the RIP route?
Both the static and RIP routes share the same /16 prefix, so the longest-match rule cannot differentiate them. In that case, Cisco IOS compares administrative distance values: static routes default to AD 1, while RIP defaults to AD 120. Since a lower AD is always preferred, the static route is installed in the routing table and used for forwarding. That is the strongest reason because the prefixes are identical, making AD the decisive tie-breaker.
Why this answer
The static route is preferred because both routes describe the same destination prefix and the static route has the lower administrative distance. In practical terms, longest-prefix match does not break the tie because the prefixes are equal. The router then compares source trust, and static routing wins over RIP by default.
This is a core route-selection concept and a very exam-relevant comparison.
Exam trap
Do not confuse administrative distance with metrics or prefix length; administrative distance is the deciding factor here.
Why the other options are wrong
This option is incorrect because RIP can coexist with static routes in a routing table; static routes do not prevent RIP routes from being installed. Both routing protocols can be used simultaneously, and the routing decision is based on administrative distance.
This option is incorrect because RIP can coexist with static routes in a routing table; static routes do not prevent RIP routes from being installed. Both routing protocols can be used simultaneously in a network.
This option is wrong because static routes are not inherently more specific than RIP routes; both can have varying levels of specificity depending on the configuration. The preference of static routes over RIP is determined by administrative distance, not specificity.