nerdexam
Juniper

JN0-102 · Question #46

Which two commands would you use to discard a candidate configuration? (Choose two.)

The correct answer is A. rollback D. rollback 0. To discard changes made to the candidate configuration in Junos OS, you can use either the rollback command to revert to the active configuration or the rollback 0 command, which explicitly rolls back to the current active configuration.

Configuration Basics

Question

Which two commands would you use to discard a candidate configuration? (Choose two.)

Options

  • Arollback
  • Bdelete
  • Cdelete 0
  • Drollback 0

How the community answered

(40 responses)
  • A
    88% (35)
  • B
    10% (4)
  • C
    3% (1)

Why each option

To discard changes made to the candidate configuration in Junos OS, you can use either the `rollback` command to revert to the active configuration or the `rollback 0` command, which explicitly rolls back to the current active configuration.

ArollbackCorrect

The `rollback` command, when used without arguments, reverts the candidate configuration to the last committed (active) configuration, effectively discarding all uncommitted changes.

Bdelete

The `delete` command is used to remove specific configuration statements within the configuration hierarchy, not to discard the entire candidate configuration.

Cdelete 0

The `delete 0` command is not a valid Junos command for discarding a candidate configuration.

Drollback 0Correct

The `rollback 0` command specifically reverts the candidate configuration to the current active configuration (which is always indexed as 0 in the rollback history), discarding any uncommitted changes.

Concept tested: Junos configuration management - discarding candidate changes

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topic-map/junos-cli-configuration-rollback.html

Topics

#candidate configuration#rollback#discard changes#configuration management

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice