JN0-106 rollback 0 Practice Question
An engineer wants to roll back to the previous configuration. Which command should be used?
⚠ Common exam trap
Candidates often think that `rollback 0` is the previous configuration, but `rollback 0` actually loads the currently active configuration. `rollback 1` is the previous 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
✓
rollback 1
The `rollback 1` command loads the previous committed configuration (the configuration before the last commit) into the candidate configuration, discarding any uncommitted changes. This allows the engineer to replace the current candidate with the desired historical configuration. In Junos, `rollback 0` loads the most recently committed configuration (the current active configuration), not the previous one.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
rollback 1
Why this is correct
The `rollback 1` command reloads the candidate configuration from the previous committed configuration (rollback ID 1), completely discarding any uncommitted changes currently staged in the candidate. This precisely achieves the engineer's goal of returning to the previous configuration, making it the correct command for this scenario.
- ✗
delete
Why it's wrong here
The `delete` command is an edit-mode command used to remove specific configuration statements or hierarchy levels from the candidate configuration. It operates solely on the current candidate and has no awareness of commit history or rollback IDs, so it cannot restore a prior committed state and is not a rollback mechanism.
- ✗
rollback 0
Why it's wrong here
The `rollback 0` command reloads the candidate from the most recently committed configuration (rollback ID 0), which effectively discards uncommitted edits but does not go back to a prior configuration. Since the engineer needs to revert to the configuration before the last commit, rollback 0 targets the wrong revision and fails to meet the requirement.
- ✗
commit check
Why it's wrong here
The `commit check` command validates the candidate configuration for syntax errors and confirms that it can be successfully committed, but it does not actually commit or activate the configuration. It performs no rollback or restoration of previous configurations, so it cannot revert the device to an earlier state as required.
Go deeper
Related to this question
About these practice questions
One of 156 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 →
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.