Courseiva
User InterfaceshardMultiple ChoiceObjective-mapped

JN0-106 User Interfaces Practice Question

Exhibit

user@router# show | compare rollback 0
[edit interfaces ge-0/0/0 unit 0 family inet]
+      address 192.0.2.1/24;
-      address 10.0.0.1/24;

Refer to the exhibit. An engineer runs the command shown. What does this output indicate?

⚠ Common exam trap

Test-takers frequently confuse 'show | compare' with 'show configuration | display set' or assume no output means no candidate changes exist, but in reality, 'show | compare' outputs only differences, and any output indicates a pending change that does not match the committed configuration.

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 candidate configuration has an IP address change.

The output shows the candidate configuration differs from the committed configuration, as indicated by the 'show | compare' command displaying a change under the [edit interfaces ge-0/0/0 unit 0 family inet] hierarchy. Specifically, it shows the address 192.168.1.1/24 being replaced with 192.168.1.2/24, which is an IP address change. This confirms option B is correct because the candidate configuration has an IP address change that has not yet been committed.

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 candidate configuration matches the committed configuration.

    Why it's wrong here

    The `show | compare` command outputs a diff between the candidate configuration and the active committed configuration (rollback 0). When the candidate exactly matches the committed configuration, the command produces no output at all, not a listing of differences. Here, the presence of `+` and `-` lines proves the two configurations differ, so the statement is false.

  • The candidate configuration has an IP address change.

    Why this is correct

    In the diff output, the `-` line shows the committed IP address (10.0.0.1) being removed from interface ge-0/0/0, and the `+` line shows the candidate IP address (192.0.2.1) replacing it under `family inet`. This is a classic unified diff format: the `-` line is the old value, the `+` line is the new value. Since only the address line changes while the interface and its family structure remain, this correctly identifies an IP address change.

  • The rollback 0 configuration is being displayed.

    Why it's wrong here

    The `show | compare` command with no argument compares the candidate configuration against rollback 0, but it does not display the rollback 0 configuration itself. Instead, it displays only the differences between the candidate and rollback 0, using `-` and `+` markers. To view the actual rollback 0 configuration, you would need to use `show configuration | display rollback 0` or `rollback 0` in configuration mode. The diff here clearly shows changes, not a static rollback snapshot.

  • The interface ge-0/0/0 has been deleted.

    Why it's wrong here

    The diff shows lines under the `interfaces ge-0/0/0` hierarchy, specifically within `family inet` and its `address` sub-statement. Both a `-` line (old address) and `+` line (new address) are present, indicating the interface definition still exists and only the address is being modified. If the interface were deleted, the entire block for ge-0/0/0 would appear with `-` prefixes, and there would be no corresponding `+` lines for that interface.

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.