nerdexam
Microsoft

AZ-104 · Question #706

You have an Azure subscription. You create the following Azure Resource Manager (ARM) template named Template.json. You need to deploy Template.json. Which PowerShell cmdlet should you run from Azure

The correct answer is A. New-AzSubscriptionDeployment. New-AzSubscriptionDeployment is the correct answer, as the New-AzResourceDeployment is used to deploy in an existing resource group. You can use New-AzSubscriptionDeployment(which is an alias for New-AzDeployment) to deploy resources at subscription level. "The New-AzResourceGrou

Submitted by chiamaka_o· Mar 4, 2026Manage identities and governance

Question

You have an Azure subscription. You create the following Azure Resource Manager (ARM) template named Template.json. You need to deploy Template.json. Which PowerShell cmdlet should you run from Azure Cloud Shell?

Exhibits

AZ-104 question #706 exhibit 1
AZ-104 question #706 exhibit 2

Options

  • ANew-AzSubscriptionDeployment
  • BNew-AzManagementGroupDeployment
  • CNew-AzResourceGroupDeployment
  • DNew-AzTenantDeployment

How the community answered

(31 responses)
  • A
    74% (23)
  • B
    16% (5)
  • C
    3% (1)
  • D
    6% (2)

Explanation

New-AzSubscriptionDeployment is the correct answer, as the New-AzResourceDeployment is used to deploy in an existing resource group. You can use New-AzSubscriptionDeployment(which is an alias for New-AzDeployment) to deploy resources at subscription level. "The New-AzResourceGroupDeployment cmdlet adds a deployment to an existing resource https://learn.microsoft.com/en-us/powershell/module/az.resources/new- azresourcegroupdeployment?view=azps-10.4.1 https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-to- subscription?tabs=azure-powershell

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice