Q: 3
You develop the following Azure Resource Manager (ARM) template to create a resource
group and deploy an Azure Storage account to the resource group.
Which cmdlet should you run to deploy the template?
Options
Discussion
D. template is subscription-scope so New-AzDeployment matches. If it was just inside a resource group would have been B. Agree?
Looks like it's D here since the schema in the template points to a subscription-level deployment. See this style in official practice tests a lot. If you want to double-check, check out the Microsoft docs or work through their lab environments-those make it clear too. Anyone see different guidance?
D imo, since the schema in the template is for subscription-level deployments. New-AzDeployment is what you use when creating resources across resource groups or at the sub scope, not just inside one group. Pretty sure that's what they want here but open if anyone spots something I missed.
I don't think it's A. Subscription-level templates like this need D because New-AzResourceGroupDeployment is only for resource group scope, right?
Probably D, unless the template was at resource group scope, but for subscription-level that matches exam reports.
Pretty sure every time Microsoft changes naming conventions folks get confused. D imo
D imo
I don't think it's D. B actually feels right because the template is deploying to a resource group, not directly at subscription level. Common trap here since deployment 'inside' the group normally uses New-AzResourceGroupDeployment, but maybe I'm missing something.
Pretty clear it's D for this one. The template uses a subscription-level schema so New-AzDeployment is the right cmdlet. B would only be correct if we were staying at the resource group level I think, but not here. Agree?
Definitely D
Be respectful. No spam.
Which cmdlet should you run to deploy the template?