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
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
Community Discussion
No community discussion yet for this question.