nerdexam
Broadcom-VMware

2V0-621D · Question #124

An administrator wants to power on a virtual machine (VM) while connected to an ESXi host using SSH. The VM has the following Name and ID: - VM Name = SQL001 - VMID = 12345 Which command would…

The correct answer is A. vim-cmd vmsvc/power.on 12345. To power on a virtual machine on an ESXi host via SSH, the vim-cmd utility must be used with the vmsvc/power.on subcommand, specifying the virtual machine's unique numerical ID.

Section 8 – Deploy and Administer VMware Virtual Machines

Question

An administrator wants to power on a virtual machine (VM) while connected to an ESXi host using SSH. The VM has the following Name and ID:

  • VM Name = SQL001
  • VMID = 12345

Which command would successfully power on the virtual machine?

Options

  • Avim-cmd vmsvc/power.on 12345
  • Bvim-cmd vmsvc/power.on SQL001
  • Cvmware-vim-cmd vmsvc/power.on 12345
  • Dvmware-vim-cmd vmsvc/power.on SQL001

How the community answered

(20 responses)
  • A
    85% (17)
  • B
    5% (1)
  • D
    10% (2)

Why each option

To power on a virtual machine on an ESXi host via SSH, the `vim-cmd` utility must be used with the `vmsvc/power.on` subcommand, specifying the virtual machine's unique numerical ID.

Avim-cmd vmsvc/power.on 12345Correct

The `vim-cmd` utility is the correct command-line tool on ESXi for VM management, and `vmsvc/power.on` is the specific subcommand to power on a VM, requiring the numerical VMID (12345) as an argument.

Bvim-cmd vmsvc/power.on SQL001

This command is incorrect because `vim-cmd vmsvc/power.on` requires the virtual machine's numerical ID, not its name (SQL001), to successfully power it on.

Cvmware-vim-cmd vmsvc/power.on 12345

The command `vmware-vim-cmd` is incorrect; the proper utility for managing virtual machines from the ESXi command line is `vim-cmd`.

Dvmware-vim-cmd vmsvc/power.on SQL001

This command uses the incorrect utility `vmware-vim-cmd` and also attempts to use the VM name instead of the required numerical VMID.

Concept tested: ESXi command-line VM management (vim-cmd)

Source: https://kb.vmware.com/s/article/1006160

Topics

#ESXi CLI#SSH#vim-cmd#power on VM

Community Discussion

No community discussion yet for this question.

Full 2V0-621D Practice