- A
A policy with 'append' effect
Why wrong: Append effect can add tags during creation or update, but for existing resources it requires a remediation task; the answer is better with deployIfNotExists.
- B
A policy with 'audit' effect
Why wrong: Audit effect only logs non-compliance; it does not remediate.
- C
A policy with 'deployIfNotExists' effect and a remediation task
DeployIfNotExists can deploy a remediation task to add missing tags to existing resources.
- D
A policy with 'deny' effect
Why wrong: Deny effect only prevents creation of non-compliant resources; it does not fix existing resources.
Quick Answer
The correct choice is a policy with the 'deployIfNotExists' effect combined with a remediation task. This effect is specifically designed for tag remediation because it evaluates resources for missing tags—such as 'CostCenter' and 'Environment'—and then automatically deploys a modification to add those tags via a remediation task, which runs on a schedule or on-demand. On the Microsoft Azure Solutions Architect Expert AZ-305 exam, this scenario tests your understanding of how Azure Policy effects differ: 'deny' blocks non-compliant resources, 'audit' only logs, but 'deployIfNotExists' actively fixes non-compliance by triggering a deployment. A common trap is confusing this with 'modify' effect, which also adds tags but requires a different policy structure and does not inherently trigger a remediation task in the same way. Memory tip: think "Deploy to fix, remediate to apply"—the effect deploys the logic, the task applies it to existing resources.
AZ-305 Practice Question: Design identity, governance, and monitoring solutions
This AZ-305 practice question tests your understanding of design identity, governance, and monitoring solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Your organization plans to use Azure Policy to enforce tagging on all resources. The tags must include 'CostCenter' and 'Environment'. Resources that do not have these tags should be automatically remediated. What should you use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
A policy with 'deployIfNotExists' effect and a remediation task
The 'deployIfNotExists' effect is correct because it allows Azure Policy to evaluate resources for missing tags and then deploy a remediation task that automatically adds the required tags. This effect is specifically designed for scenarios where non-compliance can be corrected by deploying or modifying resources, such as adding tags via a policy definition that triggers a remediation task.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A policy with 'append' effect
Why it's wrong here
Append effect can add tags during creation or update, but for existing resources it requires a remediation task; the answer is better with deployIfNotExists.
- ✗
A policy with 'audit' effect
Why it's wrong here
Audit effect only logs non-compliance; it does not remediate.
- ✓
A policy with 'deployIfNotExists' effect and a remediation task
Why this is correct
DeployIfNotExists can deploy a remediation task to add missing tags to existing resources.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
A policy with 'deny' effect
Why it's wrong here
Deny effect only prevents creation of non-compliant resources; it does not fix existing resources.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse 'append' with 'deployIfNotExists', thinking that 'append' can remediate existing resources, but 'append' only applies during resource creation or update, not to already deployed resources.
Detailed technical explanation
How to think about this question
Under the hood, a 'deployIfNotExists' policy uses a linked ARM template or a built-in definition to deploy a resource (e.g., a custom Azure Policy remediation task) that modifies the non-compliant resource. The remediation task runs as a separate operation that can be triggered manually or on a schedule, and it leverages the Azure Resource Manager to apply the tags. In real-world scenarios, this is critical for enforcing governance on existing resources without disrupting operations, as the policy can be assigned with a remediation scope that targets all non-compliant resources in a subscription or management group.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Design identity, governance, and monitoring solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Design identity, governance, and monitoring solutions practice questions
Targeted practice on this topic area only
- →
All AZ-305 questions
999 questions across all exam domains
- →
Microsoft Azure Solutions Architect Expert AZ-305 study guide
Full concept coverage aligned to exam objectives
- →
AZ-305 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AZ-305 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Design identity, governance, and monitoring solutions practice questions
Practise AZ-305 questions linked to Design identity, governance, and monitoring solutions.
Design data storage solutions practice questions
Practise AZ-305 questions linked to Design data storage solutions.
Design business continuity solutions practice questions
Practise AZ-305 questions linked to Design business continuity solutions.
Design infrastructure solutions practice questions
Practise AZ-305 questions linked to Design infrastructure solutions.
SAA-C03 VPC practice questions
Practise AZ-305 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise AZ-305 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise AZ-305 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise AZ-305 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise AZ-305 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise AZ-305 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise AZ-305 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise AZ-305 questions linked to SAA-C03 VPC endpoint questions.
Practice this exam
Start a free AZ-305 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AZ-305 question test?
Design identity, governance, and monitoring solutions — This question tests Design identity, governance, and monitoring solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: A policy with 'deployIfNotExists' effect and a remediation task — The 'deployIfNotExists' effect is correct because it allows Azure Policy to evaluate resources for missing tags and then deploy a remediation task that automatically adds the required tags. This effect is specifically designed for scenarios where non-compliance can be corrected by deploying or modifying resources, such as adding tags via a policy definition that triggers a remediation task.
What should I do if I get this AZ-305 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 24, 2026
This AZ-305 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-305 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.