JN0-106 Operational Monitoring and Maintenance Practice Question
Which command is used to verify that the current active configuration is the same as the candidate configuration?
⚠ Common exam trap
Candidates often confuse `commit check` (which only validates syntax) with a comparison command, leading them to select Option A, but `commit check` does not compare the candidate to the active 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
✓
show | compare
The command `show | compare` displays the differences between the candidate configuration and the active (committed) configuration. If there are no differences, the candidate configuration is identical to the active configuration. This is the correct way to verify whether the candidate configuration matches the active configuration in Junos.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
commit check
Why it's wrong here
The 'commit check' command validates the syntax and consistency of the candidate configuration without actually committing it. It does not compare the candidate to the active configuration, so it cannot verify whether the candidate matches the running configuration. This command only ensures the configuration is valid enough to commit, not whether it has changed from the active state.
- ✗
show configuration
Why it's wrong here
'show configuration' displays the contents of the candidate configuration, not the active configuration. To see whether the candidate differs from the active configuration, you must append the '| compare' pipe, which produces a diff-style output. Without that modifier, the command simply prints the entire candidate configuration, providing no comparison to the active config.
- ✗
show system configuration
Why it's wrong here
'show system configuration' is not a valid Junos CLI command. The correct way to view the active configuration is 'show configuration', and the correct way to compare candidate vs. active is 'show configuration | compare' or simply 'show | compare'. Typing this invalid command would produce an error, so it cannot be used to verify the active configuration.
- ✓
show | compare
Why this is correct
The 'show | compare' command displays the differences between the candidate configuration and the active configuration. It outputs only the lines that would change, in a unified diff format, and if there are no differences, it returns no output. This makes it the ideal command to verify that the candidate exactly matches the active configuration.
Go deeper
Related to this question
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 →
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.