nerdexam
Microsoft

AZ-140 · Question #244

You have an Azure subscription. You create an Azure Resource Manager (ARM) template named AVD.json that defines an Azure Virtual Desktop deployment. You need to use PowerShell to provision the…

The correct answer is D. New-AzResourceGroupDeployment. To provision an Azure Virtual Desktop deployment using an ARM template with PowerShell, you should use the New-AzResourceGroupDeployment cmdlet. This cmdlet allows you to deploy resources defined in an ARM template to a resource group.

Submitted by devops_kid· Apr 18, 2026Plan and implement an Azure Virtual Desktop infrastructure

Question

You have an Azure subscription. You create an Azure Resource Manager (ARM) template named AVD.json that defines an Azure Virtual Desktop deployment. You need to use PowerShell to provision the deployment by using AVD.json. Which PowerShell cmdlet should you use?

Options

  • ANew-AzWvdHostPool
  • BNew-AzResource
  • CNew-AzWvdRegistrationInfo
  • DNew-AzResourceGroupDeployment

How the community answered

(64 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    5% (3)
  • D
    92% (59)

Explanation

To provision an Azure Virtual Desktop deployment using an ARM template with PowerShell, you should use the New-AzResourceGroupDeployment cmdlet. This cmdlet allows you to deploy resources defined in an ARM template to a resource group.

Topics

#ARM Template Deployment#PowerShell#Azure Resource Management#Azure Virtual Desktop

Community Discussion

No community discussion yet for this question.

Full AZ-140 Practice