Courseiva
User Interfaces →hardMultiple Choice

JN0-106 User Interfaces Practice Question

Exhibit

user@router# show configuration | compare 
[edit interfaces]
+   ge-0/0/0 {
+       unit 0 {
+           family inet {
+               address 10.0.0.2/24;
+           }
+       }
+   }
-   ge-0/0/0 {
-       unit 0 {
-           family inet {
-               address 10.0.0.1/24;
-           }
-       }
-   }

Refer to the exhibit. What does this output indicate?

⚠ Common exam trap

Many candidates confuse the 'show | compare' output with a commit confirmation or syntax check, when in fact it only indicates that uncommitted changes exist in the candidate 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 differs from the active configuration.

The output shows the 'show | compare' command, which displays the differences between the candidate configuration and the active (committed) configuration. The presence of lines prefixed with '+' (additions) and '-' (deletions) indicates that the candidate configuration is not identical to the active configuration, confirming that they differ.

Answer analysis

Option-by-option breakdown

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

  • ✗

    There is a syntax error.

    Why it's wrong here

    A Junos syntax error would prevent the candidate configuration from loading or committing, and it would be reported as a parse or load failure with the offending statement and line number. The output shown is a side-by-side diff using '+' and '-' markers, which only appears after the candidate configuration has been parsed successfully and can be compared against the active configuration. No error text accompanies the diff, so a syntax error is not indicated.

  • ✗

    The commit succeeded.

    Why it's wrong here

    The commit operation is a separate step from comparing configurations; a successful commit returns 'commit complete' and makes the candidate the new active configuration. Here the '+' and '-' lines show that the candidate configuration still differs from the active configuration, meaning no commit has been performed (or a subsequent edit was made after committing). This output is generated by 'show configuration | compare', which is a dry-run comparison, not a commit confirmation.

  • ✗

    The configuration is identical.

    Why it's wrong here

    If the configurations were identical, 'show configuration | compare' would produce no output at all (or the single message 'no changes'), because there would be no added or removed lines. The exhibit explicitly contains both '+' (candidate-only) and '-' (active-only) lines, which are the exact markers Junos uses to highlight differences between two configuration snapshots. Therefore the configurations are clearly not identical.

  • ✓

    The candidate configuration differs from the active configuration.

    Why this is correct

    The '+' and '-' markers in the exhibit are the Junos CLI representation of differences between two configuration revisions. When run without arguments, 'show configuration | compare' compares the active configuration (the one in use) with the candidate configuration (the one being edited but not yet committed). Lines prefixed with '-' exist only in the active configuration, while lines prefixed with '+' exist only in the candidate configuration, demonstrating that the candidate differs from the active configuration.

About these practice questions

One of 326 original JN0-106 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.