nerdexam
Network_Appliance

NS0-157 · Question #71

What command starts recording the current CLI session into a file?

The correct answer is D. system script start. In clustered Data ONTAP, the 'system script start' command begins recording the current CLI session output to a log file.

Core Cluster-Mode Configuration

Question

What command starts recording the current CLI session into a file?

Options

  • Asystem cli record
  • Bsystem record start
  • Csystem script record
  • Dsystem script start

How the community answered

(53 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    2% (1)
  • D
    92% (49)

Why each option

In clustered Data ONTAP, the 'system script start' command begins recording the current CLI session output to a log file.

Asystem cli record

'system cli record' does not exist as a valid ONTAP CLI command and follows an incorrect command structure.

Bsystem record start

'system record start' is not a valid ONTAP command; 'record' is not a direct subcommand under 'system' for this purpose.

Csystem script record

'system script record' inverts the correct subcommand order; 'record' is not the action subcommand used to begin a session script.

Dsystem script startCorrect

The 'system script start' command in ONTAP initiates session recording, capturing all CLI input and output to a file for later review. This is the correct syntax in the ONTAP CLI hierarchy where 'system script' is the command group and 'start' is the action subcommand.

Concept tested: ONTAP CLI session recording with system script

Source: https://docs.netapp.com/us-en/ontap/system-admin/record-cli-session-task.html

Topics

#CLI recording#system script#session logging#cluster CLI

Community Discussion

No community discussion yet for this question.

Full NS0-157 Practice