
Explanation:
The correct PowerShell cmdlet to deploy an ARM template to a subscription is New-AzSubscriptionDeployment. This cmdlet is used when the deployment scope is at the subscription level, such as creating a resource group. The other options correspond to different deployment scopes (management group, resource group, tenant) that are not applicable in this context.
Ultimate access to all questions.
In Azure, to deploy an ARM template named Template.json using PowerShell from Azure Cloud Shell, which cmdlet is appropriate?
A
New-AzSubscriptionDeployment
B
New-AzManagementGroupDeployment
C
New-AzResourceGroupDeployment
D
New-AzTenantDeployment
No comments yet.