AZ-104 · Question #673
Hotspot Question You have an Azure subscription that contains the resource groups shown in the following table. You create the following Azure Resource Manager (ARM) template named deploy.json. You…
The correct answer is The template creates a resource group named RG0 in the East US Azure region. = Yes; The template creates four new resource groups. = No; The template creates a resource group named RG3 in the West US Azure region. = No. The ARM template is deployed using a subscription-level deployment cmdlet (New-AzDeployment) with a specified location, and it uses a 'Microsoft.Resources/resourceGroups' resource type to create resource groups. The template creates RG0 in East US as defined in the template's…
Question
Exhibits
Answer Area
- The template creates a resource group named RG0 in the East US Azure region.Yes
- The template creates four new resource groups.No
- The template creates a resource group named RG3 in the West US Azure region.No
Explanation
The ARM template is deployed using a subscription-level deployment cmdlet (New-AzDeployment) with a specified location, and it uses a 'Microsoft.Resources/resourceGroups' resource type to create resource groups. The template creates RG0 in East US as defined in the template's resource properties, and since RG0 already exists, it is idempotent - ARM will update or confirm the existing resource group in East US. The template only creates or updates resource groups explicitly defined within it, not four new ones, and RG3 would only be created if specified in the template with West US as its location.
Topics
Community Discussion
No community discussion yet for this question.

