2V0-21.23 Question 303
Select 3A VMware administrator notices that a virtual machine (VM) is consistently experiencing high memory ballooning and swapping. After reviewing the environment, the administrator identifies that the ESXi host where the VM is running is overcommitted on memory resources. Which actions should the administrator take to resolve this issue and optimize performance?
- A
Migrate the VM to another ESXi host with sufficient available memory using vMotion.
- B
Increase the memory reservation for the VM to guarantee its memory allocation.
- C
Enable Transparent Page Sharing (TPS) on the ESXi host to reduce memory usage.
- D
Increase the VM's allocated memory size in its configuration.
- E
Add more physical memory (RAM) to the ESXi host.
Show answer and explanation
Correct answers: A, B, E
Explanation
In this scenario, the VM is experiencing high memory ballooning and swapping due to the ESXi host being overcommitted on memory resources. Migrating the VM to a host with sufficient memory, increasing its memory reservation, or adding more physical RAM to the host are all effective solutions to resolve this issue. Transparent Page Sharing (TPS) is less effective in modern environments, and merely increasing the VM's allocated memory does not address the overcommitment at the host level.
- A. Correct.
Migrating the VM to another ESXi host with sufficient memory ensures that the VM has access to the required physical memory resources and eliminates ballooning and swapping.
- B. Correct.
Increasing the memory reservation for the VM guarantees that a specific amount of physical memory is allocated to the VM, preventing memory contention issues.
- C. Incorrect.
Enabling Transparent Page Sharing (TPS) has limited impact in modern environments due to security concerns, and it does not directly address ballooning or swapping caused by overcommitment.
- D. Incorrect.
Increasing the allocated memory size for the VM does not resolve the issue if the ESXi host itself is overcommitted on memory. This could potentially worsen the swapping issue.
- E. Correct.
Adding more physical memory (RAM) to the ESXi host directly addresses the root cause of the overcommitment, ensuring sufficient resources for all VMs.