VCP-VCF Administrator 2024 exam dumps

VCP-VCF Administrator 2024 practice question 359 of 379

VMware Certified Professional - VMware Cloud Foundation Administrator 2024. Free level, VMware. Free question with the correct answer and a full explanation.

VCP-VCF Administrator 2024 Question 359

Single answer

As a VMware Cloud Foundation administrator, you are tasked with collecting logs for a specific workload domain to assist VMware Support in diagnosing an issue. You have decided to use the 'sos' CLI tool for this task. Which of the following steps is required to successfully collect the logs for the workload domain using the 'sos' CLI tool?

  1. A

    Run the 'sos --gather' command on the SDDC Manager appliance to collect logs for all workload domains.

  2. B

    Use the 'sos --gather-workload-domain <domain_name>' command to collect logs for a specific workload domain.

  3. C

    Execute the 'sos --generate-report' command to automatically upload logs to VMware Support.

  4. D

    Run the 'sos --list-domains' command to identify the workload domain name before log collection.

Show answer and explanation

Correct answer: B

Explanation

The 'sos' CLI tool in VMware Cloud Foundation is a critical utility for collecting logs necessary for troubleshooting and supporting workload domains. To collect logs for a specific workload domain, the correct command is 'sos --gather-workload-domain <domain_name>'. This ensures that only the logs for the relevant domain are collected, making it easier for VMware Support to diagnose the issue. While other commands like 'sos --list-domains' may assist in identifying the domain name, they are not part of the actual log collection process.

  • A. Incorrect.

    This option is incorrect because the 'sos --gather' command collects logs for all workload domains and components, not a specific workload domain.

  • B. Correct.

    This option is correct because the 'sos --gather-workload-domain <domain_name>' command is specifically used to collect logs for a targeted workload domain, as required in this scenario.

  • C. Incorrect.

    This option is incorrect because the 'sos --generate-report' command is not used for log collection; it is used for generating a report and does not upload logs automatically.

  • D. Incorrect.

    This option is incorrect because while 'sos --list-domains' is useful to identify workload domain names, it is not directly involved in the log collection process itself.

Timed practice exam

Take a VCP-VCF Administrator 2024 practice test under exam conditions

70 questions in 135 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam