Courseiva
User Interfaces →mediumMultiple Choice

JN0-106 User Interfaces Practice Question

A network engineer needs to revert to the configuration that was active before the last commit. Which command accomplishes this?

⚠ Common exam trap

The trap here is that candidates familiar with Cisco IOS may expect a 'revert' command or confuse 'rollback 0' (current config) with the previous commit, leading them to select the wrong rollback number or a non-existent command.

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 reverts the active configuration to the configuration that was committed immediately before the most recent commit. Junos maintains up to 50 previous committed configurations (rollback 0 being the current active configuration, rollback 1 the previous, and so on). This command is the correct way to undo the last commit without manually editing the configuration.

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

    Rollback 1 loads the configuration committed immediately before the current one into the candidate configuration. This allows a network engineer to undo the most recent commit and return to the prior operational state, though the resulting candidate must still be committed by running commit. Since the goal is to revert to the previous configuration, rollback 1 is the correct command.

  • ✗

    rollback 0

    Why it's wrong here

    Rollback 0 copies the currently active committed configuration into the candidate configuration, effectively discarding any uncommitted modifications. It does not retrieve a historical configuration; rather, it resets the candidate to the state that is already running on the device. Because the engineer needs the configuration from before the current commit, rollback 0 would not accomplish that task and is therefore incorrect.

  • ✗

    load override

    Why it's wrong here

    load override is a configuration-mode directive that replaces the entire candidate configuration with the contents of a specified local file or remote URL. It does not tap into Junos's committed configuration history and requires an existing file that contains the desired configuration. Unless such a file was previously saved, load override cannot revert to the previous committed configuration, making it an unsuitable choice here.

  • ✗

    revert

    Why it's wrong here

    revert is not a recognized command in Junos for configuration rollback; it is likely a confusion with the rollback operation. Junos offers rollback with a numerical argument to select a past committed configuration, but there is no generic revert command in operational or configuration mode. Attempting to use revert would produce an error because the system would not interpret it as a valid instruction, so it cannot be the correct answer.

About these practice questions

Courseiva writes every JN0-106 question from scratch — 326 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.