Discarding a Candidate Configuration | JN0-102 Exam | Juniper Networks Certified Associate Junos

Which Two Commands to Use for Discarding a Candidate Configuration?

Prev Question Next Question

Question

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

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

AD

The two commands that can be used to discard a candidate configuration are:

A. rollback D. rollback 0

Explanation:

  1. Rollback: The "rollback" command is used to revert to the previous configuration. When the configuration is changed, the Junos operating system automatically creates a backup copy of the previous configuration, called a "rescue" configuration. The "rollback" command can be used to switch back to the rescue configuration, which essentially discards any changes made to the candidate configuration.

For example, if you make some changes to the candidate configuration and want to discard those changes, you can type the "rollback" command to revert back to the previous configuration.

  1. Rollback 0: The "rollback 0" command is used to revert to the active configuration. When a new configuration is committed, it becomes the active configuration, and the previous active configuration becomes the backup configuration. The "rollback 0" command discards any changes made to the candidate configuration and switches back to the active configuration.

For example, if you make some changes to the candidate configuration and want to discard those changes and switch back to the active configuration, you can type the "rollback 0" command.

B. delete The "delete" command is used to delete configuration statements from the active or candidate configuration. It does not discard the entire candidate configuration.

C. delete 0 The "delete 0" command is invalid and cannot be used to discard a candidate configuration.

Therefore, options A and D are the correct answers.