An organization must ensure that all Azure VMs in a subscription have a specific tag applied at creation time. If the tag is missing, the deployment should be blocked. Which approach achieves this?

Microsoft Azure Fundamentals Hard

Microsoft Azure Fundamentals — Hard

An organization must ensure that all Azure VMs in a subscription have a specific tag applied at creation time. If the tag is missing, the deployment should be blocked. Which approach achieves this?

Key points

  • Azure Policy with Deny effect enforces specific conditions on Azure resources.
  • Azure Monitor alert rule focuses on monitoring resource events, not enforcing tags.
  • Azure RBAC custom role restricts actions but does not enforce specific tags.
  • Azure Advisor provides recommendations but does not block deployments.

Ready to go further?

Related questions