Courseiva
Routing FundamentalshardMultiple ChoiceObjective-mapped

JN0-106 Routing Fundamentals Practice Question

Exhibit

show route 10.10.10.0/24

inet.0: 4 destinations, 4 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.10.10.0/24     *[OSPF/10] 00:12:34, metric 2
                    via ge-0/0/0.0
                    [Static/15] 00:05:00
                    to 192.168.1.1 via ge-0/0/0.0

Refer to the exhibit. Why is the static route not active?

⚠ Common exam trap

A common mix-up: candidates confuse metric with preference, assuming a lower OSPF metric would override a static route, but in Junos, preference is the primary tiebreaker between different routing protocols, not metric.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The static route has a higher preference than the OSPF route.

Junos uses route preference (administrative distance) to select the active route when multiple routes to the same destination exist. By default, OSPF has a preference of 10, while a static route has a preference of 5. Since a lower preference value is more preferred, the static route should normally be active. However, the question indicates the static route is not active, which implies the static route's preference has been manually set higher than OSPF's preference (e.g., static route preference > 10), causing OSPF to be selected as the active route.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The OSPF route has a lower metric.

    Why it's wrong here

    Routing protocols have their own metric domains; a metric has no meaning outside its protocol. Junos selects the active route by preference (administrative distance) before comparing metrics. Since OSPF's preference is lower (10) than static's (15), OSPF wins regardless of metric values. So even if the OSPF metric were high, it wouldn't matter.

  • The static route's next-hop is not reachable.

    Why it's wrong here

    The routing table typically shows the next-hop and the interface used to reach it. If the next-hop were unreachable, the static route would be hidden (or marked down) and not appear in the active route table. Since 192.168.1.1 is resolved through ge-0/0/0.0, the static route has a valid next-hop. Thus, the inactivity is not due to reachability.

  • The static route is not committed.

    Why it's wrong here

    A static route only appears in the routing table after it has been configured and committed; uncommitted configuration is not applied to the routing engine. Since the static route is actually visible in the routing table, the configuration was successfully committed. The reason it is not active is a route selection issue, not a configuration state issue.

  • The static route has a higher preference than the OSPF route.

    Why this is correct

    Junos uses preference to select the best route to a destination when multiple protocols offer a route. The default preference for static is 15, while OSPF internal routes have a default preference of 10. A higher preference value means less preferred, so OSPF's route is chosen as active, and the static route becomes inactive (but still in the routing table). This explains why the static route appears but is not used for forwarding.

Visual reference

R1 R2 R3 R4 10 100 10 100 OSPF picks R1→R2→R4 (cost 20) over R1→R3→R4 (cost 200)

Quick reference

Routing Protocol Comparison

ProtocolMetricMax HopsAlgorithmType
RIP v2Hop count15Bellman-FordDistance vector
OSPFCost (bandwidth)UnlimitedDijkstra (SPF)Link state
EIGRPComposite metricUnlimitedDUALHybrid
IS-ISCostUnlimitedDijkstraLink state
BGPPolicy / attributesUnlimitedPath vectorPath vector

RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.

About these practice questions

This JN0-106 question is part of Courseiva's 156-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This JN0-106 practice question is part of Courseiva's free Juniper Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the JN0-106 exam.