VMware vSphere 7.x Professional for Service Providers — Question 60
A vSphere administrator discovers the size of the .vswp file for a VM with 2 vCPUs and 4GB of memory is zero.
What could be the cause?
Answer options
- A. VM is in a suspended state.
- B. All VM memory is reserved.
- C. VM is running on a snapshot.
- D. Memory reservation is not set.
Correct answer: B
Explanation
The correct answer is B because when all VM memory is reserved, there is no need for a swap file, resulting in a size of zero. Option A is incorrect since a suspended VM would still have a .vswp file. Option C is not relevant in this case as a snapshot does not affect the swap file's size. Option D is also incorrect because if memory reservation isn't set, the .vswp file would typically exist to manage memory swapping.