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.
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)- A4% (2)
- B2% (1)
- C2% (1)
- D92% (49)
Why each option
In clustered Data ONTAP, the 'system script start' command begins recording the current CLI session output to a log file.
'system cli record' does not exist as a valid ONTAP CLI command and follows an incorrect command structure.
'system record start' is not a valid ONTAP command; 'record' is not a direct subcommand under 'system' for this purpose.
'system script record' inverts the correct subcommand order; 'record' is not the action subcommand used to begin a session script.
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
Community Discussion
No community discussion yet for this question.