You have an ARM template file named Template.json. Which PowerShell cmdlet should you run from Azure Cloud Shell to deploy Template.json at the subscription scope?
Choose an answer
Tap an option to check your answer.
Correct answer: New-AzSubscriptionDeployment.
Why this is the answer
To deploy an ARM template at the subscription scope, the correct PowerShell cmdlet is New-AzSubscriptionDeployment. This cmdlet is specifically designed for deployments that target an entire Azure subscription, making it suitable for deploying resources or policies that apply broadly across the subscription. New-AzManagementGroupDeployment is used for deployments at the management group scope, which is higher than a subscription. New-AzResourceGroupDeployment is for deployments at the resource group scope, which is lower than a subscription and the most common deployment target. New-AzTenantDeployment is for deployments at the tenant scope, the highest level in Azure. Since the question specifies deployment at the subscription scope, New-AzSubscriptionDeployment is the precise cmdlet required.
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