Exam AZ-400 All QuestionsBrowse all questions from this exam
Question 10

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.

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 ApplyAndAutocorrect.

Does the solution meet the goal?

    Correct Answer: A

    Setting the -ConfigurationMode parameter to ApplyAndAutocorrect ensures that desired state configurations (DSC) are applied and any configuration drift is automatically corrected. This mode applies the configuration and regularly checks the nodes to verify compliance with the desired configuration. If a node drifts from its desired state, DSC logs the discrepancy and re-applies the configuration to bring the node back to its correct state. Therefore, it meets the goal of keeping test servers correctly configured regardless of configuration drift.

Discussion
VamshiJupelli

Got this question in my exam on 17 June 2024. Scored 813, Passing score 700 There were 41 normal questions, 2 case studies with 5 questions in each, and 1 lab set with 12 tasks. Including the lab, about 40% of the questions were new to me, given I didn't purchase the full version of dumps from any website. The lab was all about Azure DevOps rather than Azure Portal, like making a service connection, setting up branch policies, adding a .NET build task, docker deploy task, setting up an agent pool, creating an artifact feed, setting up pull request triggers etc. I was able to do 9 out of 12. All the best!

nhannnOption: A

It's A - Yes. With ApplyAndAutocorrect: DSC 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, and then re-applies the current configuration

UnknowManOption: A

correct

rdemontisOption: A

correct answer

d0bermannnOption: A

ApplyAndAutocorrect option is all that we need there, just see get-help Register-AzAutomationDscNode

ZodiaCOption: A

Its satisfies the requirements, so its correct.

zellckOption: A

A is the answer. https://learn.microsoft.com/en-us/powershell/dsc/managing-nodes/metaconfig?view=dsc-1.1#basic-settings ApplyAndAutoCorrect: DSC 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, and then re-applies the current configuration.

syu31svcOption: A

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 Yes; use ApplyAndAutocorrect for "correctly configured, regardless of configuration drift"

kennynelconOption: A

ApplyandAutoCorrect is accurate

ozbonnyOption: A

ApplyAndAutocorrect: The configuration is applied and the LCM verifies periodically that there is no variation. If a change is noticed, then the configuration is reapplied. Then Correct Answer

Hg6421Option: A

Right answer is A

GovcommOption: A

Yes, ApplyAndAutocorrect is the right answer for the configuration drift.

fabulousethiopiaOption: A

ApplyAndAutoCorrect: DSC 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, and then re-applies the current configuration.

ScreamingHandOption: A

ApplyAndAutocorrect is correct, - you can specify how often LCM checks the nodes

jojom19980Option: B

you can specify that the state of the machine is to be applied only once by specifying ApplyOnly as the value of the ConfigurationMode property. State Configuration doesn't try to apply the configuration after the initial check.