nerdexam
Broadcom-VMware

2V0-622 · Question #141

The command esxcli network vm list displays four virtual machines connected to the Production vSwitch. Within the vSphere Web Client, five virtual machines are seen. What explains this behavior?

The correct answer is A. The fifth virtual machine is currently powered off.. The esxcli network vm list command only displays virtual machines that are currently powered on and have active network connections, so a powered-off VM will appear in the Web Client inventory but not in the esxcli output.

Section 2 – Configure and Administer vSphere 6.5 Networking

Question

The command esxcli network vm list displays four virtual machines connected to the Production vSwitch. Within the vSphere Web Client, five virtual machines are seen. What explains this behavior?

Options

  • AThe fifth virtual machine is currently powered off.
  • BThe fifth virtual machine has two vnics.
  • CThe fifth virtual machine has an invalid IP address.
  • DThe fifth virtual machine has an invalid MAC address.

How the community answered

(48 responses)
  • A
    77% (37)
  • B
    6% (3)
  • C
    4% (2)
  • D
    13% (6)

Why each option

The esxcli network vm list command only displays virtual machines that are currently powered on and have active network connections, so a powered-off VM will appear in the Web Client inventory but not in the esxcli output.

AThe fifth virtual machine is currently powered off.Correct

The esxcli network vm list command queries the VMkernel network stack for active VM network ports, which only exist when a VM is powered on. A powered-off VM has no active vNIC port on the vSwitch, so it is excluded from the esxcli output but still visible in the vSphere Web Client inventory, which reflects all registered VMs regardless of power state.

BThe fifth virtual machine has two vnics.

Multiple vNICs on a VM would cause the same VM to appear multiple times in the esxcli output, not cause it to disappear entirely.

CThe fifth virtual machine has an invalid IP address.

An invalid IP address does not prevent a vNIC from being registered to a vSwitch port; the VM would still appear in the esxcli output if powered on.

DThe fifth virtual machine has an invalid MAC address.

An invalid MAC address would likely prevent the vNIC from functioning but would not cause the VM to be hidden from the esxcli network vm list output while the VM is powered on.

Concept tested: esxcli network vm list powered-on VM visibility

Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-73736CDF-3D32-4E92-8B35-4E1F8F8A9AEF.html

Topics

#esxcli network vm list#VM power state#vSphere Web Client#network visibility

Community Discussion

No community discussion yet for this question.

Full 2V0-622 Practice