Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator for a company that requires all resources to have "Environment" and "Department" tags applied for organizational compliance. You need to ensure that any new resources missing these tags are automatically tagged with predefined values without manual intervention. What should you do to meet this requirement?
Create an Azure Policy that automatically adds the required tags when they are missing.
Instruct developers to manually apply the required tags during resource creation.
Use Azure Resource Manager templates with predefined tags for all deployments.
Implement a script that regularly adds missing tags to resources.
An Azure Policy configured with the append or modify effect can automatically add the specified tags to resources at creation time when they are missing, ensuring consistent compliance without manual action. Using Azure Resource Manager templates applies tags only to deployments that use those templates and cannot guarantee coverage for resources provisioned by other methods. A periodic script can add tags after deployment but leaves a window in which resources are non-compliant and requires ongoing maintenance. Relying on users to remember to tag resources is error-prone and cannot guarantee compliance.
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 Azure Policy and how does it ensure compliance?
Open an interactive chat with Bash
What are the 'append' and 'modify' effects in Azure Policy?
Open an interactive chat with Bash
Why are Azure Resource Manager (ARM) templates not sufficient for enforcing tag compliance?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Manage Azure identities and governance
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 .