Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Microsoft Certified: DevOps Engineer Expert · Microsoft
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/register-azurermautomationdscnode?view=azurermps-6.13.0 Specifies the DSC configuration mode. Valid values are: ApplyAndMonitor ApplyAndAutocorrect ApplyOnly Answer is No; use ApplyAndAutocorrect for "correctly configured, regardless of configuration drift"
https://learn.microsoft.com/en-us/powershell/dsc/managing-nodes/metaconfig?view=dsc-1.1 ApplyAndMonitor: This is the default value. The LCM applies any new configurations. After initial application of a new configuration, if the target node drifts from the desired state, DSC reports the discrepancy in logs. Note that DSC will attempt to apply the configuration until it is successful before ApplyAndMonitor takes effect.
ApplyAndMonitor: The configuration is applied and checked periodically. If a change is noticed, then an entry is created in the event log. The proposed solution sets the -ConfigurationMode parameter to ApplyOnly when running the Register-AzureRmAutomationDscNode command. This indicates that the configuration will only be applied, but will not be checked or corrected for any configuration deviation (drift). Since the goal is to ensure that the company's test servers remain correctly configured regardless of configuration drift, the solution falls short of the goal. The settings will only be applied once and will not be maintained if there are unauthorized changes. Therefore, the correct answer is B. No.