Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware 3V0-21.25 Exam - Topic 5 Question 4 Discussion

Actual exam question for VMware's 3V0-21.25 exam
Question #: 4
Topic #: 5
[All 3V0-21.25 Questions]

An administrator is designing a blueprint for a multi-tier application. The application requires that a specific shell script be executed on the virtual machine (VM) during the initial boot process to register the instance with an internal security dashboard.

Which construct should the administrator include in the blueprint to achieve this?

Show Suggested Answer Hide Answer
Suggested Answer: B

In VCF 9.0 Automation, the standard and most reliable method for executing scripts inside a guest OS during the initial boot is using cloud-init via the cloudConfig stanza. By embedding the script within the cloudConfig section of the Cloud.Machine resource in the YAML blueprint, the automation engine passes this data to the vSphere metadata service. During the first boot, the cloud-init agent (which must be pre-installed on the VM template) retrieves and executes the script with root/administrator privileges. This occurs entirely within the guest OS, making it the ideal solution for registration tasks that require local OS context. While ABX (Option A) or Orchestrator (Option C) can perform 'outside-in' management, they do not run scripts during the boot process as natively or as early as cloud-init, which is specifically designed for the 'Day 0' configuration of cloud instances.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel