When is the page file for a Windows guest OS or the swap partition for a
Linux guest OS created?
A.
When the Virtual Machine is created
B.
When a Virtual Machine is first powered on
C.
When the Guest OS is installed on the Virtual Machine
D.
When a reservation is set for the Virtual Machine
Correct answer is B – when the Virtual machine is powered ON .
See :
Swap File Location
By default, the swap file is created in the same location as the virtual machine’s configuration file.
A swap file is created by the ESXi host when a virtual machine is powered on. If this file cannot be created, the virtual machine cannot power on. Instead of accepting the default, you can also:
■ Use per-virtual machine configuration options to change the datastore to another shared storage location.
■ Use host-local swap, which allows you to specify a datastore stored locally on the host. This allows you to swap at a per-host level, saving space on the SAN. However, it can lead to a slight degradation in performance for vSphere vMotion because pages swapped to a local swap file on the source host must be transferred across the network to the destination host.
Am wrong. the question is for page file creation for the GUest OS and not for the Virtual machine . My answer (B) mentioned above was for VM swap file .
Hence the correct answer is C : When the Guest OS is installed .