Courseiva
Routing FundamentalsmediumMultiple ChoiceObjective-mapped

JN0-106 Routing Fundamentals Practice Question

Exhibit

user@router> show configuration routing-options static | display set
set routing-options static route 10.1.1.0/24 qualified-next-hop 192.168.1.1 preference 10
set routing-options static route 10.1.1.0/24 qualified-next-hop 192.168.2.1 preference 20

Refer to the exhibit. If the primary next-hop (192.168.1.1) becomes unreachable, what will happen to the route?

⚠ Common exam trap

Test-takers frequently assume a route is removed or hidden when a next-hop fails, but Junos maintains the route and uses the backup next-hop, unlike some other vendors that may withdraw the route entirely.

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 secondary next-hop (192.168.2.1) will be used.

In Junos, when a route has multiple next-hops configured (e.g., primary and secondary), the secondary next-hop serves as a backup. If the primary next-hop (192.168.1.1) becomes unreachable, Junos automatically fails over to the secondary next-hop (192.168.2.1) without removing the route from the routing table. This behavior is controlled by the 'next-hop' configuration under a static route or via routing protocol policies, ensuring continuous reachability.

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 route is removed from the routing table.

    Why it's wrong here

    Junos does not withdraw the static route from the routing table just because its primary next-hop is unreachable. Because the route has a configured secondary next-hop (192.168.2.1) that is still resolvable, the RIB keeps the route as a valid, active entry; removal would only happen if all next-hops became invalid and no fallback existed.

  • The route remains but with the primary next-hop marked as unreachable.

    Why it's wrong here

    While the primary next-hop loses reachability, Junos does not retain it in the RIB as a marked-unreachable entry. Instead, the routing table actively replaces the unusable primary next-hop with the secondary next-hop, so the active route entry's next-hop is updated to 192.168.2.1, not left flagged as unreachable alongside the primary.

  • The secondary next-hop (192.168.2.1) will be used.

    Why this is correct

    When the primary next-hop (192.168.1.1) becomes unreachable, Junos automatically selects the secondary next-hop (192.168.2.1) as the active forwarding next-hop because the secondary is configured as the fallback and is still valid. The route remains installed in the routing table and is forwarded via the secondary next-hop until the primary recovers and is preferred again.

  • The route becomes hidden.

    Why it's wrong here

    A route becomes hidden in Junos when it is suppressed from the active routing table, usually because no valid next-hop or outbound interface can be resolved, or because a routing policy rejects it. In this scenario, the secondary next-hop resolves correctly, so the route is neither hidden nor suppressed; it remains visible and fully usable in traffic forwarding.

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.