AZ-400 · Question #390
AZ-400 Question #390: Real Exam Question with Answer & Explanation
The LCM is configured with ApplyAndAutoCorrect mode (ConfigurationMode), which means DSC will automatically reapply the configuration if manual changes (drift) are detected, making the second statement correct. The first statement is wrong because the DSC configuration uses Depen
Question
Hotspot Question You have a virtual machine that runs Windows Server 2019 and is managed by using Desired State Configuration (DSC). You have the following DSC configuration. You have the following Local Configuration Manager (LCM) configuration. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Answer:
Explanation
The LCM is configured with ApplyAndAutoCorrect mode (ConfigurationMode), which means DSC will automatically reapply the configuration if manual changes (drift) are detected, making the second statement correct. The first statement is wrong because the DSC configuration uses DependsOn to ensure the Web-Server feature is installed BEFORE the file is copied (the file copy depends on the feature, not the other way around). The third statement is wrong because ApplyAndAutoCorrect mode will automatically fix discrepancies rather than merely logging them, and the ConfigurationModeFrequencyMins determines how often consistency checks run - if set to more than 60 minutes (e.g., 120 minutes), it won't report within 60 minutes, but more importantly the mode corrects rather than just reports (that would be ApplyAndMonitor).
Topics
Community Discussion
No community discussion yet for this question.