VCP-CMA 2024 exam dumps

VCP-CMA 2024 practice question 114 of 269

VMware Certified Professional - Cloud Management and Automation 2024. Associate level, VMware. Free question with the correct answer and a full explanation.

VCP-CMA 2024 Question 114

Select 2

A VMware administrator is tasked with creating a cloud template in VMware Aria Automation to deploy minions and run a Salt state file. What steps must the administrator take to ensure the state file is executed on the deployed minions?

  1. A

    Define the Salt state file in the cloud template under the 'SaltConfig' section.

  2. B

    Attach the Salt master configuration to the cloud template during its creation.

  3. C

    Ensure the minion's hostname is specified in the Salt state file.

  4. D

    Create a subscription in VMware Aria Orchestrator to trigger the state file execution post-deployment.

  5. E

    Include a 'SaltStackConfig' resource in the cloud template to define state file execution details.

Show answer and explanation

Correct answers: A, E

Explanation

To execute a Salt state file on deployed minions, the administrator must define the state file in the cloud template under the 'SaltConfig' section. Additionally, a 'SaltStackConfig' resource should be included to specify the state execution details. These steps ensure that the SaltStack configuration management process is properly integrated into the deployment workflow.

  • A. Correct.

    Correct: The Salt state file must be defined in the cloud template under the 'SaltConfig' section to ensure it is executed when the minion is deployed.

  • B. Incorrect.

    Incorrect: Salt master configuration is not directly attached to the cloud template. Instead, the Salt master communicates with the minions as part of the configuration management process.

  • C. Incorrect.

    Incorrect: The minion's hostname does not need to be specified directly in the state file; SaltStack manages targeting through grains, pillars, or other mechanisms.

  • D. Incorrect.

    Incorrect: While subscriptions in VMware Aria Orchestrator can trigger post-deployment actions, they are not required to execute Salt state files in this scenario.

  • E. Correct.

    Correct: The 'SaltStackConfig' resource in the cloud template is used to define Salt state file execution details, including which states should run after deployment.

Timed practice exam

Take a VCP-CMA 2024 practice test under exam conditions

60 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam