2V0-622 · Question #166
An administrator notices that 8 out of 10 virtual machines have memory ballooning and swapping. However, virtual machine 9 is not ballooning or swapping and virtual machine 10 is not ballooning but is
The correct answer is A. Virtual machine 9 has a 100% memory reservation. D. Virtual machine 10 does not have VMware Tools enabled or installed.. A full memory reservation exempts a VM from ballooning and swapping, while the absence of VMware Tools removes the balloon driver yet still allows host-level swapping to occur.
Question
An administrator notices that 8 out of 10 virtual machines have memory ballooning and swapping. However, virtual machine 9 is not ballooning or swapping and virtual machine 10 is not ballooning but is swapping. Which two statements explain the behavior of virtual machine 9 and virtual machine 10? (Choose two.)
Options
- AVirtual machine 9 has a 100% memory reservation.
- BVirtual machine 10 has a memory limit configured.
- CVirtual machine 9 has memory shares set to HIGH.
- DVirtual machine 10 does not have VMware Tools enabled or installed.
How the community answered
(66 responses)- A55% (36)
- B17% (11)
- C29% (19)
Why each option
A full memory reservation exempts a VM from ballooning and swapping, while the absence of VMware Tools removes the balloon driver yet still allows host-level swapping to occur.
When a VM has a 100% memory reservation, ESXi guarantees all of that memory is backed by physical RAM and will not be reclaimed. Because the memory is fully reserved, the host bypasses both the balloon driver and host-level swap for that VM, explaining why VM9 experiences neither ballooning nor swapping.
A memory limit constrains the maximum memory a VM may consume but does not prevent ESXi from applying ballooning or swapping to that VM when the host is under memory pressure.
High memory shares give a VM scheduling priority during contention but do not create a complete exemption from ballooning - ESXi may still balloon the VM, just at a lower priority than VMs with fewer shares.
The VMware balloon driver is a component delivered by VMware Tools. Without VMware Tools installed, VM10 has no balloon driver, so the host cannot use ballooning to reclaim its guest memory. However, host-level memory swapping occurs at the hypervisor layer independent of VMware Tools, which is why VM10 is swapping but not ballooning.
Concept tested: VMware memory reclamation - reservation, balloon driver, and host swap interaction
Source: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-0A5B006C-FE22-4FE9-A5B2-0B6E6B6B6B6B.html
Topics
Community Discussion
No community discussion yet for this question.