VCP-VCF Administrator 2024 Question 146
Single answerYou are a VMware Cloud Foundation administrator tasked with troubleshooting a virtual machine (VM) in your environment. The VM has stopped responding, and upon investigation, you notice it is locked by another process. Which Day 2 operation should you perform in vCenter to resolve this issue and unlock the VM?
- A
Use the 'Migrate' feature to move the VM to another host.
- B
Power off the locked VM using the vCenter interface.
- C
Restart the management agents on the ESXi host where the VM resides.
- D
Delete the VM from the inventory and re-register it.
Show answer and explanation
Correct answer: C
Explanation
When a VM is locked by another process, restarting the management agents on the ESXi host is a common troubleshooting step. This operation clears stale processes and releases locks without impacting the VM's data or configuration. Other options, such as migration or deletion, are not suitable for resolving this specific issue.
- A. Incorrect.
Migrating the VM will not resolve the issue because the locking process is host-specific. The lock needs to be released before migration is possible.
- B. Incorrect.
Powering off the VM using the vCenter interface is not possible if the VM is locked, as the process causing the lock prevents such operations.
- C. Correct.
Restarting the management agents on the ESXi host often resolves VM lock issues by clearing stale processes and releasing locks.
- D. Incorrect.
Deleting and re-registering the VM could cause data loss or corruption if the lock is due to a legitimate process. This is not a recommended Day 2 operation for resolving a lock issue.