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 ApplyAndMonitor.
Does the solution meet the goal?
- A. Yes
- B. No Correct
Explanation
ApplyAndMonitor, the default, applies the configuration and then only reports drift in the logs; it does not correct it. To keep servers correctly configured regardless of drift you need ApplyAndAutoCorrect, which reports and then reapplies the current configuration.