azureblog.co.uk
← AZ-900 study plan
AZ-900 · Describe Azure management and governance

Governance and compliance tools in Azure

Microsoft Purview for data governance, Azure Policy to enforce rules, and resource locks to stop accidental changes.

  • 10 min
  • 3 concepts
  • Try it yourself
  • 4-question check

Learn

Governance means keeping your cloud in line with your organisation's rules. AZ-900 covers three tools: one that understands your data, one that enforces rules on resources, and one that stops resources being changed or deleted by mistake.

  1. 1

    Describe the purpose of Microsoft Purview in Azure

    Microsoft Purview is a family of data governance, risk and compliance solutions. It can scan and map data across on-premises, multi-cloud and SaaS sources, classify sensitive data, show where data came from (lineage), and help protect and govern it, for example with sensitivity labels and data loss prevention.

    Remember: Purview answers 'what data do we have, where, and is it protected?'

  2. 2

    Describe the purpose of Azure Policy

    Azure Policy creates, assigns and manages rules for resources, such as 'only allow VMs in UK South' or 'require a CostCentre tag'. It evaluates resources for compliance, can block non-compliant deployments, and can fix some existing resources with remediation tasks.

    Initiatives group related policies, such as a regulatory standard, so you can assign them together. Policies inherit down the management hierarchy.

    Remember: Policy controls what resources can be like; RBAC controls what people can do.

  3. 3

    Describe the purpose of resource locks

    A resource lock stops resources being deleted or changed by accident. Delete (CanNotDelete) allows changes but not deletion. ReadOnly allows reading only. Locks apply to everyone, even Owners, and are inherited by child resources. To delete a locked resource, remove the lock first.

    Remember: Locks override permissions, even an Owner's.

Policy, RBAC or lock?

Azure Policy
  • Rules about resources
  • e.g. allowed regions, required tags
  • Audit, deny or remediate
Azure RBAC
  • Rules about people
  • e.g. who can create VMs
  • Grants permissions at a scope
Resource lock
  • Stops accidents
  • Delete or ReadOnly
  • Applies to everyone

Try it

Choose a policy effect and see what happens when someone deploys a non-compliant resource.

This interactive part needs JavaScript.

In the portal

  • Assign a policyAzure portal: Policy > Authoring > Assignments > Assign policy
  • Add a lockAzure portal: your resource > Settings > Locks > Add

Key terms

Click a card to see the definition.

Check your understanding

4 questions. Score 80% or more and these skills are marked as confident in your AZ-900 study plan.

  1. Which service ensures VMs can only be created in approved regions?

  2. An Owner tries to delete a resource with a Delete lock. What happens?

  3. Which helps you discover and classify data across many sources?

  4. What is an initiative?

Sources

Facts in this lesson are from Microsoft Learn. This site isn't affiliated with Microsoft.