Microsoft

AZ-400 practice question 9

Designing and Implementing Microsoft DevOps Solutions · free question 9 of 20

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.

Need the theory? Learn it free in the AZ-400 course on Godlike Academy

Practice the whole free set

Answer all 20 free AZ-400 questions with instant feedback, or unlock all 562 questions with Learn and Exam modes.