VCP-VCF Administrator 2024 Question 357
Select 2You are a VMware Cloud Foundation Administrator tasked with diagnosing a potential health issue in the management domain. You decide to use the 'sos' CLI tool. Which of the following steps can help you effectively identify potential health issues using the 'sos' CLI tool?
- A
Run 'sos --check' to perform a quick health check on the system.
- B
Use 'sos --logs' to gather and export the log bundles for further analysis.
- C
Execute 'sos --status' to view the real-time status of all VMware services.
- D
Run 'sos --analyze' to automatically generate recommendations for resolving issues.
- E
Utilize 'sos --vms' to list all virtual machines in the workload domain.
Show answer and explanation
Correct answers: A, B
Explanation
The 'sos' CLI tool in VMware Cloud Foundation is primarily used to diagnose and troubleshoot potential health-related issues. The correct steps include using 'sos --check' to perform a quick health check and 'sos --logs' to gather log bundles for further analysis. These functionalities help administrators identify and address potential health issues effectively. However, options like 'sos --status', 'sos --analyze', and 'sos --vms' are not valid commands for this tool.
- A. Correct.
'sos --check' is a valid command that performs a quick health check to identify potential system issues, making it relevant to the scenario.
- B. Correct.
'sos --logs' is a valid option that helps gather log bundles, which are critical for diagnosing health issues in VMware Cloud Foundation.
- C. Incorrect.
'sos --status' is not a valid command in the 'sos' CLI tool. There is no option to view the real-time status of services using this tool.
- D. Incorrect.
'sos --analyze' is not a valid command. The 'sos' CLI tool does not generate automated recommendations for resolving issues.
- E. Incorrect.
'sos --vms' is not a valid command. The 'sos' CLI tool is not used for listing virtual machines in the workload domain.