VCP-VCF Administrator 2024 Question 360
Select 4You are troubleshooting an issue in a VMware Cloud Foundation workload domain and need to collect logs for a support request. Which of the following steps correctly describe the use of the 'sos' CLI tool to gather the logs?
- A
Run the 'sos --help' command to view the available options for the tool.
- B
Use the 'sos --all' command to collect logs from all workload domains in the environment.
- C
Run the 'sos --w
' command to collect logs specific to a workload domain. - D
Ensure you have administrative privileges before executing the 'sos' CLI tool commands.
- E
Upload the generated logs file to the VMware support portal manually after collecting it with 'sos'.
Show answer and explanation
Correct answers: A, C, D, E
Explanation
The 'sos' CLI tool is a critical utility in VMware Cloud Foundation for collecting logs related to workload domains. To effectively use it, you need to understand its options (like 'sos --help'), specify the workload domain using 'sos --w', and ensure you have administrative privileges. Once the logs are collected, they must be uploaded to the VMware support portal for further analysis, as the tool itself does not automatically send the files. Misuse of commands like 'sos --all' indicates a lack of knowledge about the tool's functionality.
- A. Correct.
Running 'sos --help' is the correct way to view available options for the tool and ensures you understand how to use it.
- B. Incorrect.
The 'sos --all' command is not valid for collecting logs. Instead, you must specify the workload domain or other specific parameters.
- C. Correct.
Using the 'sos --w
' command is the correct method to collect logs specific to a workload domain. - D. Correct.
Administrative privileges are required to run the 'sos' CLI tool as it interacts with sensitive system information.
- E. Correct.
After collecting the logs with 'sos', the logs need to be uploaded to the VMware support portal manually as part of the support request process.