VCP-VCF Administrator 2024 Question 167
Select 3You are managing a VMware Cloud Foundation environment and need to destroy a virtual machine (VM) named 'Test-VM' that is no longer needed. Before proceeding, you want to ensure the destruction process is successful and does not leave any remnants in the environment. Which steps should you perform to destroy the virtual machine correctly?
- A
Ensure the VM is powered off before attempting to destroy it.
- B
Delete the VM from the inventory in the vSphere Client.
- C
Verify that the associated storage and network resources are unlinked from the VM.
- D
Take a snapshot of the VM before destroying it in case it needs to be recovered.
- E
Use the VMware Cloud Foundation SDDC Manager to destroy the VM directly.
Show answer and explanation
Correct answers: A, B, C
Explanation
To properly destroy a virtual machine in a VMware Cloud Foundation environment, it is essential to follow a clear and methodical process. This includes powering off the VM, deleting it from the inventory, and verifying that associated resources (e.g., storage and network) are unlinked. These steps help prevent resource locks and orphaned objects in the environment. Taking a snapshot is unnecessary for destruction, and the VMware Cloud Foundation SDDC Manager is not the correct tool for this task.
- A. Correct.
Ensuring the VM is powered off is a required step before destroying it to avoid issues with active processes or locks on associated resources.
- B. Correct.
Deleting the VM from the inventory is a necessary step in the destruction process, as it removes the VM from the vSphere Client and prepares it for complete removal.
- C. Correct.
Verifying that the associated storage and network resources are unlinked ensures that no dependencies or unused resources are left behind, preventing potential issues in the environment.
- D. Incorrect.
Taking a snapshot before destroying the VM is unnecessary and counterproductive, as the goal is to completely remove the VM and associated data. Snapshots are used for recovery, not destruction.
- E. Incorrect.
The VMware Cloud Foundation SDDC Manager does not directly handle VM destruction. VM management, including destruction, is performed within the vSphere Client or vCenter Server.