Cyber Intelligence
Cloud Security6 min read

Azure Policy & Blueprints: AZ-500 Compliance Enforcement

Azure Policy enforces governance rules across subscriptions. The AZ-500 exam tests policy effects (deny, audit, modify, deployIfNotExists), initiative assignments, and the difference between Policy and Blueprints.

I
Microsoft Cloud Solution Architect
AZ-500Azure PolicyBlueprintsComplianceGovernanceCertification

What Is Azure Policy?

Azure Policy evaluates resources against rules (policy definitions) and enforces compliance. Policies do not retroactively fix non-compliant resources: they prevent future violations (Deny effect) or report existing ones (Audit effect).

Policy Effects

EffectBehavior
DenyBlocks the resource creation/update if non-compliant
AuditAllows the operation but marks the resource as non-compliant
ModifyAdds/replaces/removes a property on the resource automatically
DeployIfNotExistsDeploys a related resource if it does not exist (for example, deploy Log Analytics agent)
AuditIfNotExistsAudits if a related resource is missing
DisabledPolicy is defined but not enforced
Exam tip: DeployIfNotExists and Modify effects require a managed identity assigned to the policy assignment: the policy needs permission to make changes.

Initiatives (Policy Sets)

An Initiative is a collection of policy definitions grouped for a common goal. Example: the "Azure Security Benchmark" initiative contains 200-plus policies that together implement the ASB framework.

Assign an initiative to a management group, subscription, or resource group: all child resources inherit the assignment.

Exemptions and Exclusions

  • Exclusion scope: Exclude a specific resource group or resource from a policy assignment entirely
  • Exemption: Mark a specific resource as "waived" or "mitigated" with an expiry date
Exam tip: Exemptions are auditable and time-bound. Exclusion scopes are permanent and not audited as exceptions.

Azure Blueprints

Blueprints bundle role assignments, policy assignments, ARM templates, and resource groups into a single deployable package. They enforce governance at subscription creation time. Exam trap: Blueprints are being deprecated in favour of Deployment Stacks. The exam may still test Blueprints: know they exist and that they combine Policy plus RBAC plus templates.

N

Recommended tool: Nordpass

Up to 40% commission

Get weekly security insights

Cloud security, zero trust, and identity guides — straight to your inbox.

I

Microsoft Cloud Solution Architect

Cloud Solution Architect with deep expertise in Microsoft Azure and a strong background in systems and IT infrastructure. Passionate about cloud technologies, security best practices, and helping organizations modernize their infrastructure.

Share this article

Questions & Answers

Related Articles

Need Help with Your Security?

Our team of security experts can help you implement the strategies discussed in this article.

Contact Us