How should the Register-AzureRmAutomationDscNode command be modified to resolve the technical issue?
Choose an answer
Tap an option to check your answer.
Correct answer: Change the value of the ConfigurationMode parameter..
Why this is the answer
The Register-AzureRmAutomationDscNode command is used to onboard virtual machines to Azure Automation State Configuration. The technical issue likely stems from an incorrect ConfigurationMode setting, which dictates how the DSC configuration is applied and maintained on the node. Changing this parameter (e.g., from ApplyAndMonitor to ApplyAndAutoCorrect or ApplyOnly) is the direct way to resolve issues related to how the configuration is enforced or if it's drifting. Replacing the cmdlet with Register-AzureRmAutomationScheduledRunbook is incorrect because that cmdlet is for scheduling runbooks, not for registering DSC nodes. Adding AllowModuleOverwrite is irrelevant to node registration; it's used when importing modules. Adding DefaultProfile is for specifying a particular Azure context, which is unlikely to be the root cause of a DSC configuration application issue.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed