AZ-500 · Question #528
Hotspot Question You have an Azure subscription named Sub1 that contains two resource groups named RGnet and NET. You have the Azure Policy definition shown in the following exhibit. You assign the…
The correct answer is You can deploy VNet1 to RGnet. = Yes; You can deploy ASG1 to NET. = Yes; You can deploy storage1 to RGnet. = No. The Azure Policy definition shown restricts resource deployments to only allow 'Microsoft.Network' resource types within the assigned scope. VNet1 (Microsoft.Network/virtualNetworks) and ASG1 (Microsoft.Network/applicationSecurityGroups) are both Network resource types, so they…
Question
Exhibits
Answer Area
- You can deploy VNet1 to RGnet.Yes
- You can deploy ASG1 to NET.Yes
- You can deploy storage1 to RGnet.No
Explanation
The Azure Policy definition shown restricts resource deployments to only allow 'Microsoft.Network' resource types within the assigned scope. VNet1 (Microsoft.Network/virtualNetworks) and ASG1 (Microsoft.Network/applicationSecurityGroups) are both Network resource types, so they comply with the policy and can be deployed to RGnet and NET respectively. Storage1 (Microsoft.Storage/storageAccounts) is NOT a Microsoft.Network resource type, so the policy denies its deployment to RGnet, which is under the Sub1 scope where the policy is assigned.
Topics
Community Discussion
No community discussion yet for this question.



