You run Register-AzureRmAutomationDscNode for your test servers and want to ensure they remain correctly configured despite configuration drift. Does setting the -ConfigurationMode parameter to ApplyAndAutocorrect meet this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Yes.
Why this is the answer
Yes, setting the -ConfigurationMode parameter to ApplyAndAutocorrect meets this requirement. This mode ensures that the DSC configuration is applied to the node, and if any configuration drift is detected later, Azure Automation DSC automatically re-applies the desired state to correct it. This continuous enforcement is precisely what's needed to maintain server configuration despite drift. Other modes like ApplyAndMonitor would detect drift but not automatically correct it, requiring manual intervention. ApplyOnly would apply the configuration once and then do nothing further, leaving the server vulnerable to drift.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed