VCP-CMA 2024 Question 116
Select 3An organization is automating the deployment of minions using VMware Aria Automation. They want to run a specific state file on the deployed minions to configure them with SaltStack. Which of the following steps is required to ensure the state file is applied to the minions during deployment?
- A
Include the SaltStack configuration in the cloud template as part of the provisioning process.
- B
Add a cloud-init script to the cloud template to install the SaltStack agent on the minions.
- C
Specify the state file to be applied in the SaltStack configuration management section of the cloud template.
- D
Manually trigger the state file to run on the minions after deployment using the SaltStack console.
- E
Verify the Salt master configuration to ensure it recognizes the deployed minions.
Show answer and explanation
Correct answers: A, C, E
Explanation
To deploy minions and run a state file on them using VMware Aria Automation, the SaltStack configuration must be integrated into the cloud template. The state file must be specified in the SaltStack section of the template to ensure it is applied during deployment. Additionally, the Salt master must recognize the minions for the state file to be executed successfully. These steps ensure a fully automated and seamless deployment process.
- A. Correct.
Including the SaltStack configuration in the cloud template ensures that the minions are properly set up and configured as part of the automated deployment process. This is required for running state files.
- B. Incorrect.
While adding a cloud-init script can help install the SaltStack agent, it is not necessary if the SaltStack configuration is already integrated into the cloud template.
- C. Correct.
Specifying the state file in the SaltStack configuration management section of the cloud template is essential to automate the application of the desired state to the deployed minions.
- D. Incorrect.
Manually triggering the state file is not required if the process is automated via the cloud template and SaltStack configuration.
- E. Correct.
The Salt master must recognize the deployed minions to ensure the state file can be properly applied. This is a critical validation step.