- A
Audit
Why wrong: Audit effect only logs compliance, it does not block creation.
- B
Append
Why wrong: Append adds fields but does not prevent creation; the resource is created with the appended values.
- C
Deny
Deny effect blocks the request if the resource does not comply with the policy.
- D
Modify
Modify effect can change properties during creation to ensure compliance, effectively preventing non-compliant creation.
- E
Manual
Why wrong: Manual effect does not automatically enforce compliance; it requires manual evaluation.
Quick Answer
The answer is the Deny and Modify effects. Deny actively blocks any resource creation or update request that violates a policy rule, ensuring non-compliant resources are never deployed, while Modify can add or change resource properties during creation or update to enforce compliance, effectively preventing non-compliant configurations from being created. Both effects operate at the time of the resource request, stopping non-compliant resources before they exist, which is a critical distinction from audit-only effects. On the AZ-305 exam, this tests your understanding of how Azure Policy enforces governance at scale, often appearing in scenario-based questions about preventing misconfigurations like unencrypted storage or unapproved SKUs. A common trap is confusing Append with Modify—remember that Append only adds tags or fields to existing resources, whereas Modify can alter existing properties and requires a managed identity. Memory tip: think of Deny as the bouncer who turns you away at the door, and Modify as the tailor who alters your suit before you enter.
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.
Which TWO Azure Policy effects can be used to prevent the creation of non-compliant resources?
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
Deny
The 'Deny' effect (Option C) is correct because it actively blocks any resource creation or update request that violates a policy rule, ensuring non-compliant resources are never deployed. The 'Modify' effect (Option D) is also correct because it can add or change resource properties during creation or update to enforce compliance, effectively preventing non-compliant configurations from being created. Both effects operate at the time of the resource request, stopping non-compliant resources before they exist.
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.
- ✗
Audit
Why it's wrong here
Audit effect only logs compliance, it does not block creation.
- ✗
Append
Why it's wrong here
Append adds fields but does not prevent creation; the resource is created with the appended values.
- ✓
Deny
Why this is correct
Deny effect blocks the request if the resource does not comply with the policy.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Modify
Why this is correct
Modify effect can change properties during creation to ensure compliance, effectively preventing non-compliant creation.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Manual
Why it's wrong here
Manual effect does not automatically enforce compliance; it requires manual evaluation.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse 'Audit' with a blocking effect, or mistakenly think 'Append' can prevent creation, when in reality only 'Deny' and 'Modify' (with its ability to alter properties during deployment) can stop non-compliant resources from being created.
Detailed technical explanation
How to think about this question
Under the hood, Azure Policy evaluates all resource creation and update requests via the Azure Resource Manager (ARM) before the request is processed. The 'Deny' effect returns an HTTP 403 Forbidden status to the caller, preventing the resource from being created, while 'Modify' uses a 'modify' effect with a 'roleDefinitionIds' parameter to apply a remediation task that alters the resource properties during deployment, ensuring compliance without blocking the request entirely. A subtle behavior is that 'Modify' requires a managed identity with contributor permissions on the target scope to apply changes, and if the identity lacks permissions, the policy evaluation fails and the resource is denied.
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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
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: Deny — The 'Deny' effect (Option C) is correct because it actively blocks any resource creation or update request that violates a policy rule, ensuring non-compliant resources are never deployed. The 'Modify' effect (Option D) is also correct because it can add or change resource properties during creation or update to enforce compliance, effectively preventing non-compliant configurations from being created. Both effects operate at the time of the resource request, stopping non-compliant resources before they exist.
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.