Courseiva
Junos Configuration BasicshardMultiple SelectObjective-mapped

Junos Commit Options: Check, Synchronize, Confirmed

Which THREE statements about the 'commit' command are correct?

Quick Answer

The correct answer is that the 'commit confirmed 5' command will roll back the configuration after 5 minutes if not confirmed. This is because the Junos commit confirmed option activates a candidate configuration for a specified number of minutes, but if the administrator does not issue a standard 'commit' command within that window, the system automatically reverts to the previous active configuration, preventing lockout from a faulty change. On the JNCIA-Junos exam, this concept tests your understanding of safe configuration practices, often appearing alongside the 'commit check' command—which validates syntax without applying changes—and the 'synchronize' option used on dual Routing Engine systems. A common trap is confusing 'commit confirmed' with a permanent commit; remember that the timer is a safety net, not a delay. For a quick memory tip: think of "confirmed" as a "countdown to rollback"—if you don't confirm before the clock runs out, the change disappears.

⚠ Common exam trap

Candidates often confuse 'commit full' with a validation-skipping command, when in fact it performs a more thorough validation, and they may incorrectly assume that multiple users cannot commit simultaneously in Junos, unlike some other network operating systems.

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

The 'commit check' command validates the syntax of the candidate configuration.

The 'commit check' command validates the syntax and semantics of the candidate configuration without activating it. This allows an administrator to verify that the configuration is valid before committing, preventing potential errors from being applied to the active 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.

  • The 'commit check' command validates the syntax of the candidate configuration.

    Why this is correct

    Correct.

  • The 'commit synchronize' command is used on a dual-RE system to commit on both REs.

    Why this is correct

    Correct.

  • The 'commit full' command activates the configuration without performing any validation.

    Why it's wrong here

    Commit full forces a full check.

  • The 'commit' command can only be issued when no other users are in configuration mode.

    Why it's wrong here

    Multiple users can commit in private mode.

  • The 'commit confirmed 5' command will roll back the configuration after 5 minutes if not confirmed.

    Why this is correct

    Correct.

About these practice questions

Courseiva writes every JN0-106 question from scratch — 156 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

Same concept, more angles

4 more ways this is tested on JN0-106

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which THREE statements about the commit operation are correct? (Choose three.)

medium
  • A.The 'commit check' command validates the syntax of the candidate configuration without activating it.
  • B.After a successful commit, the candidate configuration becomes the active configuration.
  • C.A commit can be scheduled to revert automatically if not confirmed within a certain time.
  • D.The candidate configuration is stored in a file named 'juniper.conf' on the flash drive.
  • E.A commit operation automatically saves the rescue configuration.

Why A: The 'commit check' command validates the syntax and semantics of the candidate configuration without activating it. This allows an administrator to verify that the configuration is error-free before making it active, preventing potential misconfigurations from disrupting network operations.

Variation 2. Which TWO statements about the 'commit' operation in Junos are correct?

medium
  • A.The commit operation validates syntax before applying, and if errors are found, the commit fails.
  • B.The commit operation automatically rolls back changes after 10 minutes if not confirmed.
  • C.The commit operation allows you to commit only a specific portion of the configuration.
  • D.The commit operation applies the configuration changes at the next system reboot.
  • E.The commit operation activates the candidate configuration as the new active configuration.

Why A: The commit operation in Junos first validates the candidate configuration for syntax and semantic consistency. If errors are detected, the commit fails and the candidate configuration remains unchanged. Option E is correct because the commit operation activates the candidate configuration as the new active configuration, making it the running configuration. Options B, C, and D are incorrect: the 10-minute rollback timer is a feature of 'commit confirmed', not the standard commit; Junos does not support partial commits (the entire candidate configuration is always committed); and commit applies changes immediately, not at reboot.

Variation 3. Which TWO statements are true about the 'commit' operation in Junos?

medium
  • A.The commit command validates the configuration syntax before applying it.
  • B.The commit command automatically saves the configuration to a file on the hard disk.
  • C.After a commit, the candidate configuration is replaced with the active configuration.
  • D.A commit can include a comment for documentation purposes.
  • E.A successful commit overwrites the rollback configurations.

Why A: The 'commit' command in Junos performs a full syntax and consistency validation of the candidate configuration before applying it. If any errors are detected, the commit is aborted and the candidate configuration remains unchanged, ensuring the active configuration is never corrupted.

Variation 4. Which THREE statements about commit options are true?

hard
  • A.'commit full' reinitializes the system.
  • B.'commit confirmed' requires a second commit within the timeout to keep the changes.
  • C.'commit synchronize' commits on both Routing Engines in a chassis cluster.
  • D.'commit check' validates syntax without committing.
  • E.'commit and-quit' commits and exits configuration mode.

Why B: The 'commit confirmed' command in Junos applies candidate configuration changes temporarily, and if a second commit (or 'commit check') is not performed within the default 10-minute timeout, the system automatically rolls back to the previous configuration. This is used to prevent lockout during remote management changes.

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.