The answer is to assign an Azure Policy with the Modify effect at the RG-Finance scope. This is correct because the Modify effect automatically adds the CostCenter=FIN tag to resources after they are created, without blocking the deployment if the tag is omitted—unlike the Deny effect, which would reject non-compliant resources entirely. On the AZ-104 exam, this scenario tests your understanding of policy effects and remediation tasks, often appearing as a trap where candidates mistakenly choose Deny or Append; remember that Modify can update existing tags and requires a managed identity for remediation, while Append only works on new resources. A key memory tip is “Modify mends, Deny defends”—Modify fixes compliance gaps post-deployment, whereas Deny stops non-compliance upfront.
AZ-104 Manage Azure Identities and Governance Practice Question
This AZ-104 practice question tests your understanding of manage azure identities and governance. 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.
Exhibit
Resource group requirement:
- Scope: RG-Finance
- Every new resource must carry CostCenter=FIN
- Missing tag should be added automatically when possible
- Deployments must not be blocked
Current state:
- Teams manually add tags today
- Inconsistent tag values are common
Based on the exhibit, every resource created in RG-Finance must automatically receive CostCenter=FIN, but deployments should not fail if the tag is omitted. What should you configure?
Resource group requirement:
- Scope: RG-Finance
- Every new resource must carry CostCenter=FIN
- Missing tag should be added automatically when possible
- Deployments must not be blocked
Current state:
- Teams manually add tags today
- Inconsistent tag values are common
A
Assign an Azure Policy with the Modify effect at RG-Finance.
Modify is the right policy effect when you want Azure to add or update a tag without failing the deployment. Assigning it at the resource group ensures the requirement applies only to RG-Finance and keeps the CostCenter value consistent.
B
Assign an RBAC role that forces all users to enter the tag.
Why wrong: RBAC cannot force tag values in the deployment payload. It only controls whether the user is authorized to create or manage resources.
C
Apply a ReadOnly lock to the resource group.
Why wrong: A ReadOnly lock blocks changes and would prevent normal resource creation or updates. It does not help with automated tagging.
D
Use Azure Policy with a Deny effect at the management group.
Why wrong: Deny would block deployments that miss the tag, which conflicts with the requirement that deployments should not fail. The scope is also broader than necessary.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Assign an Azure Policy with the Modify effect at RG-Finance.
Option A is correct because the Azure Policy 'Modify' effect can automatically add the CostCenter=FIN tag to resources in RG-Finance without causing deployment failures if the tag is omitted. Unlike 'Deny', which blocks non-compliant deployments, 'Modify' uses a remediation task to append the missing tag after creation, ensuring compliance without disruption.
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.
✓
Assign an Azure Policy with the Modify effect at RG-Finance.
Why this is correct
Modify is the right policy effect when you want Azure to add or update a tag without failing the deployment. Assigning it at the resource group ensures the requirement applies only to RG-Finance and keeps the CostCenter value consistent.
Related concept
Read the scenario before looking for a memorised answer.
✗
Assign an RBAC role that forces all users to enter the tag.
Why it's wrong here
RBAC cannot force tag values in the deployment payload. It only controls whether the user is authorized to create or manage resources.
✗
Apply a ReadOnly lock to the resource group.
Why it's wrong here
A ReadOnly lock blocks changes and would prevent normal resource creation or updates. It does not help with automated tagging.
✗
Use Azure Policy with a Deny effect at the management group.
Why it's wrong here
Deny would block deployments that miss the tag, which conflicts with the requirement that deployments should not fail. The scope is also broader than necessary.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is confusing the 'Modify' effect with the 'Deny' effect; candidates often choose 'Deny' because it enforces compliance, but fail to notice the requirement that deployments should not fail if the tag is omitted.
Detailed technical explanation
How to think about this question
The 'Modify' effect in Azure Policy leverages a managed identity to run remediation tasks via the Azure Resource Manager, adding or altering tags on existing resources after deployment. This effect is ideal for scenarios where compliance must be enforced retroactively without blocking initial creation, such as when developers forget tags. Under the hood, the policy definition uses a 'then' clause with 'addOrReplace' to ensure the tag is present, and the remediation task can be triggered automatically or manually.
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.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Manage Azure Identities and Governance — This question tests Manage Azure Identities and Governance — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Assign an Azure Policy with the Modify effect at RG-Finance. — Option A is correct because the Azure Policy 'Modify' effect can automatically add the CostCenter=FIN tag to resources in RG-Finance without causing deployment failures if the tag is omitted. Unlike 'Deny', which blocks non-compliant deployments, 'Modify' uses a remediation task to append the missing tag after creation, ensuring compliance without disruption.
What should I do if I get this AZ-104 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 →
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. You need to ensure that all new resources deployed to a subscription automatically receive a CostCenter tag with a default value if the tag is omitted during deployment. Which Azure governance feature should you use?
medium
A.A resource lock
✓ B.An Azure Policy with an append or modify effect
C.A management group lock
D.A custom RBAC role
Why B: Azure Policy with an append or modify effect can automatically add a CostCenter tag with a default value to resources that are missing it during deployment. The append effect adds the tag and value at creation time, while the modify effect (using a 'addOrReplace' operation) can also update existing resources. This ensures governance compliance without manual intervention.
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.
This AZ-104 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-104 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.