Exam Preparation Quiz

Question 38 of 75

Complete Azure Policy Resource Type Field For Resource Groups

MDFT Pro, a well-known training agency, continues to refine their Azure governance policies to ensure proper resource management across their educational infrastructure. Claire, the Azure Policy Developer, is working on completing the custom policy definition that will enforce the organization tag requirement for all resource groups.

Mark, the Azure Policy Specialist, needs to specify the correct resource type to target resource groups and ensure that each new resource group created for training programs has the proper organizational tagging in place for cost tracking and compliance reporting.

{
  "mode": "all",
  "policyRule": {
    "if": {
      "allOf": [
        {
          "field": "tags['organization']",
          "notEquals": "MDFT Pro"
        },
        {
          "field": "type",
          "equals": "__________"
        }
      ]
    },
    "then": {
      "effect": "Audit"
    }
  }
}

The policy condition needs to identify the correct resource type to target resource groups specifically. What value should Claire specify in the “equals” field to properly target resource groups in this policy?

Choose the correct answer from the options below.

Explanations for each answer:

Learn More About Azure Policy Definition Structure:
Azure Policy Resource Types
Next Question