A company has an Azure Policy assignment that denies the creation of any virtual machine (VM) that does not have a mandatory 'CostCenter' tag. A development team needs to deploy a temporary test VM without the required tag for a short-term experiment. The governance team wants to allow this specific exception while recording the reason for the exception, ensuring the policy is still enforced for all other resources. The exception must also automatically expire after 30 days. Which Azure Policy feature should the governance team use?
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
Exclusion scope
This is incorrect because an exclusion completely removes the scope from policy evaluation. If you apply an exclusion to a resource group, the policy is not evaluated at all for resources in that group, and no compliance data is gathered. This does not meet the requirement to record the reason for the exception or to enforce the policy on other resources within the same scope.
Best answer
Exemption
This is correct because an exemption allows resources to be evaluated by the policy but marks them as exempt. You can provide a rationale, set an expiration date, and categorize the exemption (e.g., 'Mitigated' or 'Waiver'). The policy remains enforced for all other resources, and the exemption is visible in compliance reports for auditing.
Distractor review
Audit effect
This is incorrect because the Audit effect is a property of a policy definition, not a feature applied to a resource or scope. It changes how the policy behaves when non-compliance is detected (audit vs deny). In this scenario, the existing policy uses the Deny effect, and changing it to Audit would alter enforcement for all resources, not just the specific test VM. Also, the Audit effect does not provide a mechanism to record an exception reason or expiration.
Distractor review
Override effect
This is incorrect because there is no 'Override effect' in Azure Policy. Azure Policy supports effects such as Deny, Audit, Append, DeployIfNotExists, etc., but not Override. This is a plausible-sounding but fictitious option.
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: Exemption — This question tests understanding of Azure Policy compliance features, specifically the difference between exclusions and exemptions. An exclusion removes a scope from policy evaluation entirely, meaning no compliance data is collected for that scope. An exemption, on the other hand, allows the scope to be evaluated but marks resources as exempt with a recorded justification, optional expiration, and metadata such as who approved the exemption. This is ideal for temporary exceptions that must be tracked and audited. The Audit effect would only log non-compliance without blocking, but it does not allow the resource to be created if the policy uses the Deny effect. There is no 'Override effect' in Azure Policy. Therefore, an exemption is the correct solution for this controlled temporary exception.
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.