nerdexam
MicrosoftMicrosoft

AZ-104 · Question #708

AZ-104 Question #708: Real Exam Question with Answer & Explanation

The Deploy.json is an ARM template deployed at the subscription scope (evidenced by New-AzDeployment, which is a subscription-level deployment cmdlet). The template creates resource groups as part of the deployment - RG1 is created by the template and can have resources like VMs

Submitted by marco_it· Mar 4, 2026Deploy and manage Azure compute resources / Implement and manage infrastructure as code using ARM templates - typically mapped to AZ-104 'Deploy and Manage Azure Compute Resources' or 'Manage Azure identities and governance' domain covering resource group and subscription-scope deployments.

Question

Hotspot Question Your company purchases a new Azure subscription. You create a file named Deploy.json as shown in the following exhibit. You connect to the subscription and run the following cmdlet. New-AzDeployment -Location westus -TemplateFile "deploy.json" For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Answer:

Explanation

The Deploy.json is an ARM template deployed at the subscription scope (evidenced by New-AzDeployment, which is a subscription-level deployment cmdlet). The template creates resource groups as part of the deployment - RG1 is created by the template and can have resources like VMs deployed into it. RG2 is not created by the template (only RG1 is defined in the template), so it does not exist and cannot receive VM deployments. RG3 can be manually created at any time because Azure always allows users with appropriate permissions to create new resource groups independently of any template deployment.

Topics

#ARM Templates#Subscription-Level Deployment#Resource Groups#New-AzDeployment

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions