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?
Implement a script that regularly adds missing tags to resources.
Instruct developers to manually apply the required tags during resource creation.
Create an Azure Policy that automatically adds the required tags when they are missing.
Use Azure Resource Manager templates with predefined tags for all deployments.
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 work?
Open an interactive chat with Bash
What are tags in Azure and why are they important?
Open an interactive chat with Bash
What is the difference between Azure Resource Manager templates and Azure Policy?
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...
IT & Cybersecurity Package Join Premium for Full Access