Question
You run the Register-AzureRmAutomationDscNode command in your company's environment.
You need to make sure that your company's test servers remain correctly configured, regardless of configuration drift.
Solution: You set the -ConfigurationMode parameter to ApplyAndAutocorrect.
Does the solution meet the goal?
- A. Yes Correct
- B. No
Explanation
With ApplyAndAutoCorrect, the Local Configuration Manager checks the node on every configuration cycle and, when it drifts from the desired state, logs the discrepancy and reapplies the current configuration. That keeps the test servers correctly configured despite drift, unlike ApplyOnly or ApplyAndMonitor.