VCP-VCF Administrator 2024 Question 168
Select 3As a VMware Cloud Foundation administrator, you have been tasked with destroying a virtual machine (VM) in a workload domain. Before proceeding with the destruction, which actions must you ensure to avoid potential issues or errors during the process?
- A
Ensure the VM is powered off before attempting to destroy it.
- B
Verify that the VM is removed from any associated backup schedules or policies.
- C
Unregister the VM from the vCenter Server inventory before destroying it.
- D
Check that no other VMs are dependent on the VM for shared resources, such as shared disks.
- E
Ensure the VM is part of a snapshot before destroying it.
Show answer and explanation
Correct answers: A, B, D
Explanation
When destroying a VM in VMware Cloud Foundation, you must ensure it is powered off, verify that it is not associated with any backup policies, and confirm that no shared resources or dependencies exist to avoid unintentional disruptions. Additionally, snapshots should be deleted prior to VM destruction, as they can leave orphaned files in the datastore if not handled properly.
- A. Correct.
Ensuring the VM is powered off is a prerequisite for destruction. Attempting to destroy a running VM can lead to errors or unintended consequences.
- B. Correct.
It is critical to verify that the VM is not part of any active backup schedules or policies to prevent orphaned backups or failed backup jobs in the future.
- C. Incorrect.
Unregistering the VM from the vCenter Server inventory is not a necessary step before destroying it, as this will be part of the destruction process.
- D. Correct.
Checking for dependencies, such as shared resources, ensures that destroying the VM does not impact other VMs or systems reliant on those shared resources.
- E. Incorrect.
Ensuring the VM is part of a snapshot is incorrect, as snapshots should be deleted before destroying a VM to avoid leaving orphaned snapshot files in the datastore.