JNCIA-Junos: Juniper Networks Certified Associate – Junos (2022) — Question 14
A router contains both a static route and an OSPF route for the 172.18.100.0/24 prefix in its routing table. The router is configured to use the factory-default Junos
OS routing preference values. In this scenario, which statement is correct?
Answer options
- A. The OSPF route will be active because of a lower default preference value
- B. The OSPF route will be active because of a higher default preference value
- C. The static route will be active because of a lower default preference value
- D. The static route will be active because of a higher default preference value
Correct answer: C
Explanation
The correct answer is C because static routes have a lower preference value than OSPF routes, making them preferred when both are present. Options A and B are incorrect as they incorrectly state the preference values of OSPF. Option D is also wrong because it misrepresents the preference values, as static routes are favored over OSPF routes in this scenario.