- A
DeployIfNotExists effect
DeployIfNotExists evaluates resources and triggers a remediation task to add the missing tag.
- B
AuditIfNotExists effect
Why wrong: AuditIfNotExists only reports compliance state; it does not remediate.
- C
Append effect
Why wrong: Append can modify the resource during creation but does not remediate resources already created without the tag.
- D
Deny effect
Why wrong: Deny blocks creation of non-compliant resources but does not remediate existing ones.
Quick Answer
The answer is the DeployIfNotExists effect. This is the correct choice because it automatically remediates non-compliant resources by triggering a deployment task that adds the missing 'CostCenter' tag with a default value, ensuring continuous compliance without manual intervention. On the Microsoft Azure Solutions Architect Expert AZ-305 exam, this scenario tests your understanding of Azure Policy effects for governance automation, often appearing in questions about enforcing tagging standards at scale. A common trap is confusing DeployIfNotExists with the Audit effect, which only reports non-compliance without fixing it, or with Modify, which can also remediate but is limited to altering existing properties rather than deploying full ARM templates. Remember: DeployIfNotExists is your go-to when you need to automatically deploy a resource or configuration—like a default tag—when a condition is not met. Memory tip: "DeployIfNotExists deploys what's missing, Audit just tells you it's missing."
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. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.
A company uses Azure Policy to enforce tagging on resources. The security team reports that some resources are missing the required 'CostCenter' tag. You need to ensure that any resource created without the required tag is automatically remediated by adding the tag with a default value. What should you configure in Azure Policy?
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
DeployIfNotExists effect
The DeployIfNotExists effect is correct because it automatically remediates non-compliant resources by deploying a tag with a default value when the required 'CostCenter' tag is missing. This effect triggers a deployment task that adds the tag, ensuring continuous compliance without manual intervention.
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.
- ✓
DeployIfNotExists effect
Why this is correct
DeployIfNotExists evaluates resources and triggers a remediation task to add the missing tag.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
AuditIfNotExists effect
Why it's wrong here
AuditIfNotExists only reports compliance state; it does not remediate.
- ✗
Append effect
Why it's wrong here
Append can modify the resource during creation but does not remediate resources already created without the tag.
- ✗
Deny effect
Why it's wrong here
Deny blocks creation of non-compliant resources but does not remediate existing ones.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse Append (which only works during creation/update) with DeployIfNotExists (which can remediate existing resources), leading them to choose Append for automatic remediation of all resources.
Detailed technical explanation
How to think about this question
Under the hood, DeployIfNotExists uses a linked ARM template or a built-in definition to deploy a remediation task via Azure Policy's 'remediation' feature, which runs on a schedule or on-demand. This effect is ideal for scenarios where you want to enforce tagging on both new and existing resources, as it can be triggered by a policy assignment's 'remediation task' that evaluates and fixes non-compliant resources at scale.
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: DeployIfNotExists effect — The DeployIfNotExists effect is correct because it automatically remediates non-compliant resources by deploying a tag with a default value when the required 'CostCenter' tag is missing. This effect triggers a deployment task that adds the tag, ensuring continuous compliance without manual intervention.
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.