Courseiva
User Interfaces →mediumMultiple Choice

JN0-106 User Interfaces Practice Question

A user wants to discard all uncommitted changes and return to the last committed configuration without exiting configuration mode. Which command should they use?

⚠ Common exam trap

The trap here is that Cisco engineers often confuse 'reload' (a Cisco command to reboot) with Junos 'rollback', or mistakenly think 'load override' is the correct way to revert to the last committed configuration, when in fact 'load override' requires a specific file and does not automatically target the last committed state.

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 0

'rollback 0' discards all uncommitted changes and reverts the candidate configuration to the last committed configuration, all while staying in configuration mode. In Junos, rollback 0 specifically refers to the most recently committed configuration, making it the exact command to undo uncommitted edits without exiting.

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 0

    Why this is correct

    rollback 0 is the correct command because it copies the active (committed) configuration into the candidate configuration, removing any uncommitted edits on the fly. It operates entirely within configuration mode and does not reboot the device or alter the running configuration, making it the standard way to abandon all pending changes since the last commit.

  • ✗

    load override

    Why it's wrong here

    load override is wrong here because it replaces the entire candidate configuration with the contents of a file, URL, or terminal input, not with the active configuration. If you want to discard uncommitted changes and revert to the last committed state, load override would require you to first export the active configuration to a file and then load it, which is an extra step and not the direct discard operation.

  • ✗

    reload

    Why it's wrong here

    reload is not a valid Junos configuration command at all; the term is commonly used in Cisco IOS to reboot a device, but Junos uses `request system reboot` for that purpose. Even if it existed, rebooting would not discard uncommitted changes—the candidate configuration persists across a reboot in the file system, so it would still be present after the device restarts.

  • ✗

    commit check

    Why it's wrong here

    commit check only validates the syntax and semantic correctness of the candidate configuration, ensuring it would be accepted by the system, but it does not apply or remove any changes. After a commit check, all uncommitted edits remain in the candidate, so it cannot be used to discard them; it is a pre-flight check, not a revert operation.

About these practice questions

This JN0-106 question is part of Courseiva's 326-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.