2V0-41-24 practice question 19 of 25
Which CLI command shows syslog on NSX Manager?
Full set: 114 questionsThe NSX Manager appliance command-line interface (CLI) provides specific commands for administration and troubleshooting. To view the contents of log files, the get log-file command is used. The question specifically asks for the command to show the syslog. The correct syntax is get log-file , where is the name of the desired log. Therefore, get log-file syslog is the precise command to display the system log file on an NSX Manager node.
A. get log manager follow This command is syntactically incorrect. The proper command is get log-file, not get log. Additionally, it targets the manager log, not the syslog as requested by the question.
C. get log-file auth.log While the syntax is correct, this command retrieves the authentication log (auth.log), which contains user login and authentication events, not the general system log (syslog).
D. /var/log/syslog/syslog.log This is a file system path, not an executable CLI command. While it might represent the location of the log file, it cannot be executed directly at the NSX CLI prompt to display the log's contents.
1. VMware NSX-T Data Center Command-Line Interface Reference:
Document: NSX-T Data Center Command-Line Interface Reference
available via the official VMware documentation portal for NSX-T versions 3.x and NSX 4.x.
Section: "NSX Manager and NSX Edge Commands" -> "Log File Commands".
Content: This section details the get log-file [ follow | reverse ] command. It explicitly lists syslog as one of the valid options for displaying system event logs on NSX Manager. This directly supports option B as the correct command.
2. VMware NSX Documentation (Troubleshooting):
Document: NSX Troubleshooting Guide.
Section: "NSX Manager Troubleshooting" -> "Collecting and Viewing Logs".
Content: The guide instructs administrators to use the get log-file command from the CLI to view various logs for troubleshooting. It provides examples such as get log-file syslog to check system-level messages
confirming this is the standard
documented procedure.
Keep practicing
Take the free 2V0-41-24 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 2V0-41-24 practice questions
- Question 1NSX improves the security of today's modern workloads by preventing lateral movement, whi…
- Question 2Which two steps must an NSX administrator take to integrate VMware Identity Manager in NS…
- Question 3What should an NSX administrator check to verify that VMware Identity Manager integration…
- Question 4Which VMware GUI tool is used to identify problems in a physical network?
- Question 5A customer is preparing to deploy a VMware Kubernetes solution in an NSX environment. Wha…
- Question 6Which VPN type must be configured before enabling an L2VPN?
