VMware vSphere 7.x Professional (VCP-DCV 2021) — Question 120
A vSphere administrator creates a VM with 2 vCPUs and 4GB memory. A 3GB memory reservation is applied to the VM. What size is .vswp file when the VM is powered on?
Answer options
- A. 1GB
- B. 2GB
- C. 3GB
- D. 4GB
Correct answer: A
Explanation
The .vswp file size is determined by the amount of memory allocated to the VM minus the memory reservation. In this case, the VM has 4GB of memory and a 3GB reservation, leaving 1GB of memory that needs to be swapped, resulting in a .vswp file size of 1GB. Options B, C, and D do not account for the reservation correctly and thus are incorrect.