nerdexam
Broadcom-VMware

2V0-622D · Question #33

Which happens if the swap file of a virtual machine is inaccessible to the destination host during a vMotion?

The correct answer is A. The swap file is stored with the virtual machine configuration file. When a VM's swap file is inaccessible to the destination host during vMotion, ESXi automatically creates a new swap file alongside the VM configuration file rather than failing the migration.

Section 2 – Configure and Administer vSphere 6.5 Networking

Question

Which happens if the swap file of a virtual machine is inaccessible to the destination host during a vMotion?

Options

  • AThe swap file is stored with the virtual machine configuration file.
  • BThe swap file is copied to the destination host.
  • CThe vMotion will fail.
  • DThe swap file is replicated to a datastore accessible by both hosts.

How the community answered

(31 responses)
  • A
    71% (22)
  • B
    10% (3)
  • C
    16% (5)
  • D
    3% (1)

Why each option

When a VM's swap file is inaccessible to the destination host during vMotion, ESXi automatically creates a new swap file alongside the VM configuration file rather than failing the migration.

AThe swap file is stored with the virtual machine configuration file.Correct

If ESXi cannot access the original swap file location on the destination host during vMotion, it falls back to creating a new swap file in the same directory as the virtual machine configuration file (.vmx). This behavior ensures the vMotion operation completes successfully and the VM continues running, avoiding unnecessary migration failures due to swap file path inaccessibility. The new swap file persists until the VM is powered off and the configuration is corrected to point to an accessible shared datastore.

BThe swap file is copied to the destination host.

ESXi does not copy the existing swap file to the destination host during vMotion - it instead creates a brand-new swap file at the destination alongside the VM configuration files.

CThe vMotion will fail.

vMotion does not fail when the swap file is inaccessible - ESXi handles this condition gracefully by creating a new swap file at the VM configuration file location on the destination.

DThe swap file is replicated to a datastore accessible by both hosts.

ESXi does not replicate or move the swap file to a mutually accessible shared datastore during vMotion - the resolution is a local fallback to the VM configuration file directory.

Concept tested: vMotion behavior with inaccessible virtual machine swap files

Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-E77D3652-8C9D-4B4E-B1A8-C3C3B7EA8B07.html

Topics

#vMotion#swap file#inaccessible datastore#migration

Community Discussion

No community discussion yet for this question.

Full 2V0-622D Practice