2V0-21.23 Question 373
Single answerAn administrator is managing a VMware vSphere environment with multiple ESXi hosts. A VM has been reported as unresponsive, and upon investigation, the administrator finds that the VM is consuming 100% CPU resources on its assigned pCPU. To resolve the issue, the administrator decides to utilize a vSphere feature to limit the VM's CPU consumption and ensure fair resource allocation across other VMs on the host. Which action should the administrator take?
- A
Set a CPU limit on the VM from the vSphere Client.
- B
Increase the CPU reservation for the VM.
- C
Enable vSphere DRS (Distributed Resource Scheduler) in the cluster.
- D
Migrate the VM to another host using vSphere vMotion.
Show answer and explanation
Correct answer: A
Explanation
The correct action in this scenario is to set a CPU limit on the VM. This ensures that the VM does not consume more CPU resources than necessary, allowing other VMs on the same host to access CPU resources fairly. While other options, such as enabling DRS or migrating the VM, may provide temporary relief, they do not directly address the core issue of resource contention caused by the unresponsive VM.
- A. Correct.
Setting a CPU limit on the VM will restrict the maximum CPU resources the VM can consume, ensuring it does not monopolize the host's CPU resources.
- B. Incorrect.
Increasing the CPU reservation for the VM would prioritize its CPU allocation but would not address the overconsumption issue. In fact, it may worsen the problem by reserving more resources for the VM.
- C. Incorrect.
Enabling vSphere DRS could help balance resources across the cluster if it is not already enabled, but it does not directly resolve the specific issue of a single VM consuming excessive CPU resources.
- D. Incorrect.
Migrating the VM to another host using vMotion would temporarily alleviate the issue but does not address the root cause of the VM's excessive CPU consumption.