nerdexam
Juniper

JN0-102 · Question #173

What does the command show | compare rollback 1 display?

The correct answer is D. the difference between the current candidate configuration and the archived configuration from. The show | compare rollback 1 command displays the differences between the current candidate configuration and the configuration that was active immediately before the last commit.

Configuration Basics

Question

What does the command show | compare rollback 1 display?

Options

  • Athe difference between the current candidate configuration and the candidate configuration from
  • Bthe difference between the current active configuration and the current candidate configuration
  • Cthe difference between the current active configuration and the active configuration from one commit ago
  • Dthe difference between the current candidate configuration and the archived configuration from

How the community answered

(19 responses)
  • B
    5% (1)
  • D
    95% (18)

Why each option

The `show | compare rollback 1` command displays the differences between the current candidate configuration and the configuration that was active immediately before the last commit.

Athe difference between the current candidate configuration and the candidate configuration from

The command `show | compare rollback 1` does not compare two candidate configurations; it compares the current candidate with a previously committed configuration.

Bthe difference between the current active configuration and the current candidate configuration

The command `show | compare` (without `rollback`) compares the current active configuration with the current candidate configuration, not `show | compare rollback 1`.

Cthe difference between the current active configuration and the active configuration from one commit ago

The command compares the current *candidate* configuration with a previous active configuration, not the current active configuration with a previous active configuration.

Dthe difference between the current candidate configuration and the archived configuration fromCorrect

The `show | compare rollback <number>` command is used to compare the current uncommitted candidate configuration with a previously committed configuration. `rollback 1` specifically refers to the configuration that was active one commit ago, which is effectively a stored or 'archived' version of a past configuration.

Concept tested: Junos configuration comparison

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

Topics

#configuration comparison#rollback versions#Junos CLI

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice