nerdexam
Broadcom-VMware

2V0-622 · Question #482

What is the command for updating an ESXi host?

The correct answer is A. esxcli software vib update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip". The correct esxcli command for updating an ESXi host using a patch ZIP file requires the 'software vib update' subcommand with the '-d' flag pointing to the depot path.

Section 4 – Upgrade vSphere 6.x to vSphere 6.5

Question

What is the command for updating an ESXi host?

Options

  • Aesxcli software vib update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"
  • Besxupdate software update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"
  • Cesxcli software update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"
  • Desxupdate software vib update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"

How the community answered

(36 responses)
  • A
    94% (34)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The correct esxcli command for updating an ESXi host using a patch ZIP file requires the 'software vib update' subcommand with the '-d' flag pointing to the depot path.

Aesxcli software vib update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"Correct

The correct syntax is 'esxcli software vib update -d <path>' where 'software vib' is the required namespace and subnamespace, and '-d' specifies the offline bundle depot path on the datastore.

Besxupdate software update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"

'esxupdate' is a legacy tool that is not the current CLI utility for ESXi patching; the correct binary is 'esxcli'.

Cesxcli software update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"

The 'vib' subnamespace is missing - 'esxcli software update' is not a valid command path; it must be 'esxcli software vib update'.

Desxupdate software vib update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName.zip"

'esxupdate' is not the correct command-line tool; the valid tool is 'esxcli', making this command syntactically invalid.

Concept tested: ESXi host patching via esxcli CLI

Source: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-esxi-upgrade/GUID-29491EDA-4B64-4CB5-8216-A6C9E00DAEFA.html

Topics

#esxcli#VIB update#ESXi patching#CLI commands

Community Discussion

No community discussion yet for this question.

Full 2V0-622 Practice