nerdexam
Broadcom-VMware

2V0-620 · Question #138

Your manager has given you a bash script that retrieves data for ESXi 6.x host configurations. This data needs to be collected right after the installation of a host and must be run directly on the…

The correct answer is B. Enable SSH access from the Direct Console User Interface. C. Enable the ESXi Shell from the Direct Console User Interface. To run a bash script directly on an ESXi 6.x host, an administrator must enable either SSH access or the ESXi Shell from the Direct Console User Interface (DCUI), both of which provide command-line access to the host.

Section 3 – Install and Configure vCenter Server and ESXi

Question

Your manager has given you a bash script that retrieves data for ESXi 6.x host configurations. This data needs to be collected right after the installation of a host and must be run directly on the host. Which two actions can be used to run this script on an ESXi host? (Choose two.)

Options

  • AConnect to the host with Ruby vSphere Console and run the script from there.
  • BEnable SSH access from the Direct Console User Interface.
  • CEnable the ESXi Shell from the Direct Console User Interface.
  • DRun the script directly from the vSphere Web Client.

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    95% (20)

Why each option

To run a bash script directly on an ESXi 6.x host, an administrator must enable either SSH access or the ESXi Shell from the Direct Console User Interface (DCUI), both of which provide command-line access to the host.

AConnect to the host with Ruby vSphere Console and run the script from there.

Ruby vSphere Console (RVC) connects to vCenter Server and uses the vSphere API; it does not provide a direct bash execution environment on an individual ESXi host.

BEnable SSH access from the Direct Console User Interface.Correct

Enabling SSH from the DCUI allows a remote client to connect to the ESXi host's shell over the network and execute scripts directly on the host.

CEnable the ESXi Shell from the Direct Console User Interface.Correct

Enabling the ESXi Shell from the DCUI provides local interactive command-line access on the host console, where bash scripts can be executed directly.

DRun the script directly from the vSphere Web Client.

The vSphere Web Client is a GUI management interface and does not support uploading or executing bash scripts directly on an ESXi host.

Concept tested: ESXi host direct shell and SSH access methods

Source: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.security.doc/GUID-08F5BF59-F4B6-4A7E-A3FF-C61F46AF6B6F.html

Topics

#ESXi Shell#SSH access#DCUI#bash scripting

Community Discussion

No community discussion yet for this question.

Full 2V0-620 Practice