nerdexam
Juniper

JN0-102 · Question #392

Which command is used to validate the syntax of a configuration without applying the configuration?

The correct answer is A. commit check. To validate the syntax of a configuration without applying it to the device, the commit check command is used.

Configuration Basics

Question

Which command is used to validate the syntax of a configuration without applying the configuration?

Options

  • Acommit check
  • Bcommit confirmed
  • Ccommit synchronize
  • Dcommit and-quit

How the community answered

(42 responses)
  • A
    93% (39)
  • B
    2% (1)
  • C
    5% (2)

Why each option

To validate the syntax of a configuration without applying it to the device, the `commit check` command is used.

Acommit checkCorrect

The `commit check` command is specifically designed to perform a syntax and semantic validation of the candidate configuration without activating it. This allows administrators to verify the configuration's correctness before making it operational, preventing potential service disruptions.

Bcommit confirmed

The `commit confirmed` command applies the configuration, but automatically rolls it back after a specified timeout if not confirmed, which is not merely checking syntax.

Ccommit synchronize

The `commit synchronize` command applies and synchronizes the configuration across multiple Routing Engines, thus activating the changes.

Dcommit and-quit

The `commit and-quit` command applies the configuration and then exits configuration mode, making the changes active.

Concept tested: Junos configuration commit validation

Source: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/topic-map-cli-config-modes.html

Topics

#configuration management#commit command#commit check

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice