A company has a management group hierarchy with a root management group that contains all subscriptions. The governance team assigns a built-in Azure Policy initiative 'Allowed Locations' to the root management group with the 'Deny' effect, restricting resource deployment to East US and West US only. After six months, a new regulatory requirement forces the marketing department's subscription (placed under the root) to deploy resources in North Europe for a specific pilot project. The governance team must allow this exception without changing the original policy assignment and without allowing any other subscription to deploy to North Europe. What should the governance team do?
Answer choices
Why each option matters
Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.
Distractor review
Create a new Azure Policy assignment at the marketing subscription scope with the 'Allowed Locations' initiative set to 'Audit' instead of 'Deny' and include North Europe in the allowed list.
Creating a new assignment at the subscription scope would not override the deny effect from the parent management group. Policy effects are additive, and a deny effect from a higher scope cannot be overridden by an audit effect at a lower scope. This would not grant the permission to deploy in North Europe.
Distractor review
Create an Azure Blueprint that includes the 'Allowed Locations' policy and assign it to the marketing subscription.
An Azure Blueprint can include policy assignments, but it would still apply the deny effect to the marketing subscription since the root management group assignment is still in effect. This does not provide an exception; it only duplicates the restriction.
Best answer
Create an Azure Policy exemption for the marketing subscription with 'Exempt' category and specify the policy definition and effect to be excluded.
Azure Policy exemptions allow you to mark a scope as exempt from a specific policy assignment. This excludes the marketing subscription from the 'Deny' effect of the 'Allowed Locations' initiative, enabling resource creation in North Europe without altering the original policy assignment for other scopes.
Distractor review
Assign a custom RBAC role to the marketing subscription that bypasses the policy.
Azure Role-Based Access Control (RBAC) controls who can perform actions on resources, not whether resources can be created. Azure Policy is independent of RBAC; custom roles cannot bypass policy effects. Only exemptions or modifications to the policy itself can grant exceptions.
Common exam trap
Common exam trap: ACLs stop at the first match
ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.
Technical deep dive
How to think about this question
ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.
KKey Concepts to Remember
- Standard ACLs match source addresses.
- Extended ACLs can match source, destination, protocol and ports.
- The first matching ACL entry is used.
- There is usually an implicit deny at the end.
TExam Day Tips
- Check inbound versus outbound direction.
- Read the ACL from top to bottom.
- Look for a broader permit or deny above the intended line.
Related practice questions
Related AZ-900 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
AZ-900 cloud concepts practice questions
Practise AZ-900 questions linked to AZ-900 cloud concepts.
AZ-900 Azure services practice questions
Practise AZ-900 questions linked to AZ-900 Azure services.
AZ-900 pricing and support practice questions
Practise AZ-900 questions linked to AZ-900 pricing and support.
AZ-900 security and compliance practice questions
Practise AZ-900 questions linked to AZ-900 security and compliance.
AZ-900 governance practice questions
Practise AZ-900 questions linked to AZ-900 governance.
More questions from this exam
Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.
Question 1
A developer is building a serverless application that requires integration with an on-premises SQL Server database for real-time data processing. The on-premises network is connected to Azure via a site-to-site VPN. Which Azure service would allow the function to securely access the on-premises database without exposing it to the public internet?
Question 2
A solutions architect is designing a storage solution for a large media company. The company needs to store video files that are accessed infrequently but must be retained for several years for compliance. Which two Azure storage options meet these requirements? (Select two.)
Question 3
A company deploys a multi-tier application using Azure virtual machines. The web tier VMs must be evenly distributed across two distinct data centers within an Azure region to avoid a single point of failure from an infrastructure outage. Which Azure construct should they use to meet this requirement?
Question 4
A company wants to enforce a set of security policies across all their Azure subscriptions. They have created several individual policy definitions. Which Azure construct should they use to group these policies together and assign them as a single package?
Question 5
A company deploys a line-of-business application on an Azure virtual machine. The IT team wants to ensure the application remains secure. According to the shared responsibility model, which of the following security tasks is the sole responsibility of the customer (the company)?
Question 6
A company develops a web API that runs on Azure App Service. The development team wants to deploy a new version of the API to a staging environment, run integration tests against it, and then gradually shift production traffic to the new version. If any issues are detected, they want to immediately roll back to the previous version without redeploying. Which Azure App Service feature should the team use to meet these requirements?
FAQ
Questions learners often ask
What does this AZ-900 question test?
Standard ACLs match source addresses.
What is the correct answer to this question?
The correct answer is: Create an Azure Policy exemption for the marketing subscription with 'Exempt' category and specify the policy definition and effect to be excluded. — Azure Policy exemptions allow you to exclude a specific scope from a policy assignment while keeping the policy enforced on all other scopes. In this scenario, creating an exemption for the marketing subscription with the 'Exempt' category will permit that subscription to deploy resources to North Europe, while the 'Deny' effect continues to apply to all other subscriptions under the root management group. Modifying the policy assignment or adding another assignment would affect inheritance and potentially allow unintended exceptions. Custom RBAC roles cannot bypass Azure Policy effects.
What should I do if I get this AZ-900 question wrong?
Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.
Discussion
Sign in to join the discussion.