ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 271 - AZ-400 discussion

Report
Export

To resolve the current technical issue, what should you do to the Register-AzureRmAutomationDscNode command?

A.
Change the value of the ConfigurationMode parameter.
Answers
A.
Change the value of the ConfigurationMode parameter.
B.
Replace the Register-AzureRmAutomationDscNode cmdlet with Register-AzureRmAutomationScheduledRunbook
Answers
B.
Replace the Register-AzureRmAutomationDscNode cmdlet with Register-AzureRmAutomationScheduledRunbook
C.
Add the AllowModuleOverwrite parameter.
Answers
C.
Add the AllowModuleOverwrite parameter.
D.
Add the DefaultProfile parameter.
Answers
D.
Add the DefaultProfile parameter.
Suggested answer: A

Explanation:

Change the ConfigurationMode parameter from ApplyOnly to ApplyAndAutocorrect.

The Register-AzureRmAutomationDscNode cmdlet registers an Azure virtual machine as an APS Desired State Configuration (DSC) node in an Azure Automation account. Scenario: Current Technical Issue

The test servers are configured correctly when first deployed, but they experience configuration drift over time. Azure Automation State Configuration fails to correct the configurations. Azure Automation State Configuration nodes are registered by using the following command.

References: https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/register-azurermautomationdscnode?view=azurermps-6.13.0

asked 02/10/2024
Kevin Taylor
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first