VCP-CMA 2024 Question 266
Single answerYou are managing a workload in VMware Aria Automation Config and need to ensure that the workload's configuration remains consistent with its defined state. During your review, you notice that the configuration has drifted from the desired state. What step should you take to remediate this drift using VMware Aria Automation Config?
- A
Trigger a compliance check and manually apply the necessary changes to correct the drift.
- B
Run an on-demand job to enforce the desired configuration state on the workload.
- C
Delete the workload and recreate it to match the desired configuration state.
- D
Export the current configuration state, edit it, and re-import it to overwrite the drifted state.
Show answer and explanation
Correct answer: B
Explanation
In VMware Aria Automation Config, managing the state of a workload involves ensuring that its configuration adheres to the desired state defined in the system. If configuration drift occurs, the recommended approach is to run an on-demand job, which enforces the desired state by automatically remediating discrepancies. This ensures consistency and reduces the risk of manual errors.
- A. Incorrect.
Triggering a compliance check allows you to identify configuration drift but does not automatically remediate it. Manual changes could lead to inconsistencies and are not recommended for automated state management.
- B. Correct.
Running an on-demand job in VMware Aria Automation Config enforces the desired configuration state by automatically remediating any drift detected on the workload.
- C. Incorrect.
Deleting and recreating the workload is not a recommended approach, as it is disruptive and inefficient for remediating configuration drift.
- D. Incorrect.
Exporting, editing, and re-importing the configuration is not the appropriate method to address drift because VMware Aria Automation Config is designed to enforce the desired state automatically using its configuration management capabilities.