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

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?
B) A cloudConfig stanza within the Cloud.Machine resource properties.
A) An ABX action mapped to the compute.provision.pre event.
C) A VCF Operations Orchestrator workflow mapped to the post.provision event.
D) A custom property named boot.script.exec.

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
Roosevelt
29 days ago
I think A is better for event mapping!
upvoted 0 times
...
Inocencia
1 month ago
Option B is the way to go for boot scripts.
upvoted 0 times
...
Bulah
2 months ago
The VCF Operations Orchestrator workflow sounds familiar, but I thought it was more for post-provisioning tasks, not initial boot.
upvoted 0 times
...
Alishia
2 months ago
I feel like the custom property option could work, but it seems too simple for what they are asking.
upvoted 0 times
...
Becky
2 months ago
I remember practicing with ABX actions, but I can't recall if they are specifically for boot scripts or just for other events.
upvoted 0 times
...
Alberto
2 months ago
I think the cloudConfig stanza might be the right choice since it can run scripts during the boot process, but I'm not entirely sure.
upvoted 0 times
...

Save Cancel