nerdexam
Microsoft

AZ-400 · Question #261

Drag and Drop Question Your company has two virtual machines that run Linux in a third-party public cloud. You plan to use the company's Azure Automation State Configuration implementation to manage t

The correct answer is Create a DSC metaconfiguration; Copy the metaconfiguration to the virtual machines; From the virtual machines, run setdsclocalconfigurationmanager.py. After installing PowerShell DSC and running register.py on Linux VMs in a third-party cloud, the correct sequence is: first create a DSC metaconfiguration (which defines how the Local Configuration Manager should connect to Azure Automation), then copy that metaconfiguration file

Submitted by kavita_s· Mar 6, 2026Implement and Manage Azure Automation / Configure and Manage Azure Automation State Configuration (DSC) for hybrid and non-Azure resources

Question

Drag and Drop Question Your company has two virtual machines that run Linux in a third-party public cloud. You plan to use the company's Azure Automation State Configuration implementation to manage the two virtual machines and detect configuration drift. You need to onboard the Linux virtual machines. You install PowerShell Desired State Configuration (DSC) on the virtual machines, and then run register.py Which three actions should you perform next in sequence? To answer, move the actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibits

AZ-400 question #261 exhibit 1
AZ-400 question #261 exhibit 2

Answer Area

Drag items

Create a DSC metaconfigurationCopy the metaconfiguration to the virtual machinesAdd the virtual machines as DSC nodes in Azure AutomationInstall Windows Management Framework 5.1 on the virtual machinesFrom the virtual machines, run setdsclocalconfigurationmanager.py

Correct arrangement

  • Create a DSC metaconfiguration
  • Copy the metaconfiguration to the virtual machines
  • From the virtual machines, run setdsclocalconfigurationmanager.py

Explanation

After installing PowerShell DSC and running register.py on Linux VMs in a third-party cloud, the correct sequence is: first create a DSC metaconfiguration (which defines how the Local Configuration Manager should connect to Azure Automation), then copy that metaconfiguration file to the Linux virtual machines, and finally run setdsclocalconfigurationmanager.py on the VMs to apply the metaconfiguration and register them with Azure Automation State Configuration. This process configures the LCM on each Linux VM to pull configurations from and report status back to the Azure Automation DSC pull server, completing the onboarding process.

Topics

#Azure Automation State Configuration#PowerShell DSC#Linux VM Onboarding#DSC Metaconfiguration

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice