Interview Prep/Azure/Policy, Cost, AWS Mapping and Rapid-fire

What is Azure Policy and what effects can a policy have?

BeginnerConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer

Azure Policy evaluates resource properties against rules at create/update time and continuously for compliance. Effects:

  • Deny: block the request.
  • Audit / AuditIfNotExists: mark non-compliant.
  • Append / Modify: add or change properties (tags, settings) during the request; Modify also supports remediation.
  • DeployIfNotExists: deploy a related resource (diagnostic setting, Defender, private DNS record) through a managed identity.
  • DenyAction: block specific actions like delete.
  • Disabled, and Manual for attestation.

Policies are grouped into initiatives and assigned at management group, subscription or RG scope with parameters and exclusions.

Azure All Azure questions

More on Policy, Cost, AWS Mapping and Rapid-fire