Lesson 20 of 28 · see all lessons
Start here: cloud concepts (skill area 1, 25-30%)
- 1. Start here: the AZ-900 exam, the plan and what you already know
- 2. What cloud computing is: shared responsibility and cloud models
- 3. Paying for the cloud: the consumption-based model, pricing models and serverless
- 4. Why the cloud: availability, scalability, reliability, security and manageability
- 5. IaaS, PaaS and SaaS: cloud service types and when to use each
Azure architecture, compute and networking (skill area 2, 35-40%)
- 6. Azure global infrastructure: regions, region pairs, sovereign regions and availability zones
- 7. Organizing Azure: resources, resource groups, subscriptions and management groups
- 8. Azure virtual machines: VM options, scale sets, availability sets and Azure Virtual Desktop
- 9. Containers, Azure Functions and app hosting: choosing a compute type
- 10. Azure networking: virtual networks, subnets, peering and Azure DNS
- 11. Connecting to Azure: VPN Gateway, ExpressRoute, and public and private endpoints
Storage and migration (skill area 2)
Identity, access and security (skill area 2)
Management and governance (skill area 3, 30-35%)
- 19. Azure costs: cost factors, the pricing calculator, Cost Management and tags
- 20. Governance and compliance: Microsoft Purview, Azure Policy and resource locks
- 21. Managing Azure: the portal, Cloud Shell, Azure CLI, PowerShell and Azure Arc
- 22. Infrastructure as code: Azure Resource Manager and ARM templates
- 23. Monitoring Azure: Advisor, Service Health, Azure Monitor, Log Analytics, alerts and Application Insights
Final review and four mock exams
18 min
Governance and compliance: Microsoft Purview, Azure Policy and resource locks
Use Azure Policy to enforce rules, resource locks to stop accidents, and Microsoft Purview to govern data.
By the end of this lesson you can
- Explain how Azure Policy evaluates, denies and remediates resources
- Choose between a Delete lock and a ReadOnly lock
- Describe what Microsoft Purview governs
- Pick Azure RBAC, Azure Policy or a resource lock for a scenario
From earlier lessons · 1 of 2
Copperleaf tags its subscription with CostCenter = Logistics. Which statement is true?
Pick one answer.
From earlier lessons · 2 of 2
Copperleaf wants Microsoft Defender for Cloud to protect two servers that stay in the head-office server room. What must it deploy first?
Pick one answer.
Copperleaf's new EU customer wants its data kept in Europe, and in writing. Last week a tired engineer nearly deleted the production customer database. And the auditors now ask where every sensitive customer record lives. Three problems, three different Azure tools.
Azure Policy: rules every resource must follow
Exam depth: know it cold.
Azure Policy lets you create, assign and manage policies that control or audit your resources. A policy definition is one rule, such as "resources may only be created in West Europe or North Europe".
Azure Policy evaluates resources against your rules, including resources that existed before the rule. It marks each one compliant or non-compliant on a compliance dashboard. Depending on the rule, it can:
- Deny a non-compliant resource from being created or changed.
- Audit: log the change and report it.
- Remediate: fix a resource, for example by adding a missing tag.
Built-in definitions cover common needs, such as allowed locations, required tags and allowed VM sizes.
An initiative is a group of related policy definitions that tracks one larger goal. One initiative can hold more than 100 definitions.
You assign a definition or initiative to a scope: management group, subscription, resource group or single resource. Policies are inherited. Assign one to a subscription and every resource group and resource inside gets it. You can mark resources as exceptions.
Azure Policy also integrates with Azure DevOps pipelines before and after deployment. Recognize that.
Copperleaf must make sure that no one can create resources outside Europe in its EU subscription. What should it use?
Pick one answer.
Resource locks: stop accidents
Exam depth: know it cold.
A resource lock prevents resources from being accidentally deleted or changed. There are two types.
| Portal name | Command-line name | Read? | Change? | Delete? |
|---|---|---|---|---|
| Delete | CanNotDelete | Yes. | Yes. | No. |
| Read-only | ReadOnly | Yes. | No. | No. |
You can lock a subscription, a resource group or a single resource. Locks are inherited: lock a resource group and every resource in it is locked, including ones added later.
Locks apply regardless of RBAC permissions. Even an Owner must remove the lock first, then make the change.
For this statement, select Yes if it is true. Otherwise, select No. A user with the Owner role can delete a resource that has a Delete lock without removing the lock first.
Pick one answer.
Engineers must keep updating the production customer database settings, but no one may delete it by accident. Which lock should you apply?
Pick one answer.
Microsoft Purview: know and govern your data
Exam depth: know it cold.
Microsoft Purview is a family of data governance, risk and compliance solutions. It gives one view of your data across on-premises, multicloud and software as a service (SaaS) sources. Key features are automated data discovery, sensitive data classification and end-to-end data lineage, which shows where data came from and where it goes.
It has two main areas.
- Risk and compliance: uses Microsoft 365 services such as Teams, OneDrive and Exchange to protect sensitive data and manage regulatory requirements.
- Unified data governance: builds a map of your whole data estate, including Azure, SQL databases and Amazon S3. Today's names are Microsoft Purview Data Map and Unified Catalog.
Older material calls it Azure Purview.
Auditors ask Copperleaf where sensitive customer data is stored across Azure, an on-premises SQL Server and Amazon S3. What should Copperleaf use?
Pick one answer.
RBAC vs Policy vs locks: who, what, oops
Exam depth: know it cold.
| Tool | Question it answers | Example |
|---|---|---|
| Azure RBAC | Who can do what, where? | Route team is Contributor on one resource group. |
| Azure Policy | What must every resource look like? | Only Europe regions; Depot tag required. |
| Resource lock | How do we stop accidental deletes or changes? | Delete lock on the customer database. |
| Microsoft Purview | What data do we have, and where? | Find and classify customer records everywhere. |
Decision rule: a person is RBAC. A rule about settings is Policy. An accident is a lock. Data itself is Purview.
Match
Match each Copperleaf need to the tool that meets it
Pick an item on the left, then its match on the right.
Exam-style practice
For this statement, select Yes if it is true. Otherwise, select No. Azure Policy can report resources as non-compliant even if they were created before the policy was assigned.
Pick one answer.
A hospital group needs to apply 40 related security policies to five subscriptions and track compliance for all of them as one goal. What should it create?
Pick one answer.
A company must freeze a finished production environment. No one may change or delete anything in its resource group. Staff must still be able to view it. What should you apply?
Pick one answer.
Worth keeping
- Azure Policy enforces rules on resource settings; it can deny, audit or remediate, and it inherits down.
- An initiative groups related policy definitions toward one goal.
- Delete lock: change but not delete. ReadOnly lock: read only. Even Owners must remove a lock first.
- Microsoft Purview discovers, classifies and governs data across on-premises, multicloud and SaaS.
- RBAC is who, Policy is what, a lock stops accidents, Purview governs data.
On the job
Copperleaf answers the EU customer with a screenshot of an allowed-locations policy and its compliance dashboard. The customer database now carries a Delete lock. Purview gives the auditors a map of where customer records live.
In a contract review or a sales call, these three tools turn promises into proof. "Data stays in Europe" becomes a policy anyone can check.
All these rules, roles and locks get set somewhere. Next lesson: the tools you use to manage Azure, from the Azure portal and Cloud Shell to the Azure CLI, PowerShell and Azure Arc.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (9)
Each fact in the lesson is marked with the number of the page it comes from.
- [1]Microsoft Learn: Study guide for Exam AZ-900: Microsoft Azure Fundamentals
- [11]Microsoft Learn: Lock your Azure resources to protect your infrastructure
- [102]Microsoft Learn: Describe Microsoft Defender for Cloud
- [112]Microsoft Learn: Describe the purpose of tags
- [114]Microsoft Learn: Describe the purpose of Azure Policy
- [115]Microsoft Learn: What is Azure Policy?
- [116]Microsoft Learn: Describe the purpose of resource locks
- [117]Microsoft Learn: Describe the purpose of Microsoft Purview
- [118]Microsoft Learn: Learn about Microsoft Purview