Microsoft Azure Security Engineer Associate AZ-500 Practice Question
Your organization requires that every new resource in the Production subscription include a CostCenter tag. If the tag is missing at deployment, the resource must still be provisioned and the tag automatically added with the default value 9999. You will enforce this by assigning a custom Azure Policy at the subscription scope. Which effect should the policy definition use?
The modify effect can automatically add, replace, or remove properties during the create or update operation without blocking the request. A policy that uses the modify effect can insert the CostCenter tag with the default value if the tag is absent, ensuring the deployment succeeds while enforcing the tagging requirement.
Deny would block the deployment entirely, violating the requirement to allow the resource to be created. Audit only records the absence of the tag but does not change the request. Append can add properties during the request but cannot remediate existing resources and is not used by the built-in "Add a tag to resources" policy; modify is the recommended effect for automatically adding mandatory tags.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the Azure Policy modify effect?
Open an interactive chat with Bash
How does the modify effect differ from append and deny effects?
Open an interactive chat with Bash
Can Azure Policies using modify effects remediate existing resources?
Open an interactive chat with Bash
Microsoft Azure Security Engineer Associate AZ-500
Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .