nerdexam
Microsoft

AZ-400 · Question #390

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 Lo

The correct answer is The Index.htm file will be copied to the C:\Test folder before the Web-Server Windows feature is installed. = No; If manual changes are made to the configuration of the virtual machine, the configuration will reapply automatically. = Yes; If the Web-Server Windows feature is uninstalled from the virtual machine, the discrepancy will be reported in a log entry within 60 minutes. = No. 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

Submitted by femi9· Mar 6, 2026Implement and manage Windows Server infrastructure - Configure and manage Desired State Configuration (DSC) including LCM settings and resource dependencies

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:

Exhibits

AZ-400 question #390 exhibit 1
AZ-400 question #390 exhibit 2
AZ-400 question #390 exhibit 3
AZ-400 question #390 exhibit 4

Answer Area

  • The Index.htm file will be copied to the C:\Test folder before the Web-Server Windows feature is installed.No
  • If manual changes are made to the configuration of the virtual machine, the configuration will reapply automatically.Yes
  • If the Web-Server Windows feature is uninstalled from the virtual machine, the discrepancy will be reported in a log entry within 60 minutes.No

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

#Desired State Configuration#Local Configuration Manager#DependsOn#ConfigurationMode

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice