AZ-500 · Question #528
AZ-500 Question #528: Real Exam Question with Answer & 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 c
Question
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 policy definition to Sub1 and NET. You plan to deploy the resources shown in the following table. 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 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.