JN0-106 Junos Configuration Basics Practice Question
An engineer needs to apply a configuration change that adds a new static route to the Junos device. The engineer wants to ensure the change takes effect immediately and is persistent across reboots. Which command should the engineer use?
⚠ Common exam trap
The trap here is that candidates familiar with Cisco IOS might assume 'copy running-config startup-config' is needed for persistence, but in Junos, a single 'commit' both activates the change and saves it permanently, making additional save commands unnecessary.
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
✓
commit
The 'commit' command is correct because it immediately activates the candidate configuration (including the new static route) and makes it the active configuration that survives a reboot. Junos uses a two-stage configuration model where changes are first made to the candidate configuration and then committed to become the active, persistent 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.
- ✗
load override
Why it's wrong here
load override replaces the entire candidate configuration with the contents of a file or terminal input. However, it only modifies the candidate configuration; it does not activate it. To make the loaded configuration effective, you must issue a commit command. In this scenario, since the engineer needs to apply a change immediately, merely loading it without committing would not meet the requirement.
- ✗
commit confirmed
Why it's wrong here
commit confirmed is a safety mechanism that applies a configuration temporarily and automatically rolls back if the engineer does not confirm within a specified timeout (default 10 minutes). It is not appropriate for the task because the intent is to apply a static route persistently, not to test a change with an automatic revert. The engineer would need to issue a standard commit to make the change permanent.
- ✗
rollback
Why it's wrong here
rollback is used to revert the candidate or active configuration to a previously committed configuration snapshot. It does not add new configuration changes like a static route. Instead, it discards candidate changes or reverts to a prior operational state, which is the opposite of what the engineer intends to achieve.
- ✓
commit
Why this is correct
This is the correct command. In Junos, configuration changes are staged in the candidate configuration, and commit validates and activates those changes, making them part of the active configuration. Once committed, the configuration persists across reboots and becomes the new baseline for future rollback operations.
Go deeper
Related to this question
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 →
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.