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?
Instruct developers to manually apply the required tags during resource creation.
Implement a script that regularly adds missing tags to resources.
Set up a policy that appends the required tags to resources upon creation.
Use Azure Resource Manager templates with predefined tags for all deployments.
Creating a policy that appends the required tags to resources upon creation ensures that any new resources will automatically receive the 'Environment' and 'Department' tags if they are missing. This approach enforces compliance across all resources without relying on users to manually apply tags. Using Azure Resource Manager templates (Option B) only applies tags during deployments using those templates and won't affect resources created through other means. Implementing a script (Option C) requires maintenance and doesn't prevent non-compliant resources from existing between script executions. Relying on developers to manually apply tags (Option D) is prone to human error 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