Microsoft Azure Administrator Associate AZ-104 Practice Question
As an Azure administrator, you need to ensure that all resources within a specific resource group are tagged with 'ProjectName' and 'Environment'. You also want to prevent users from creating resources in that resource group without these tags. What should you do to meet this requirement?
Assign an Azure Policy to require the specified tags on resources in the resource group.
Use a PowerShell script to add the required tags to all resources in the resource group.
Create a custom RBAC role that restricts resource creation without the required tags.
Manually add the required tags to each resource in the resource group.
By assigning an Azure Policy that requires the 'ProjectName' and 'Environment' tags on resources within the resource group, you can automatically enforce tagging standards. Azure Policy can audit existing resources for compliance and deny the creation of new resources that do not have the required tags. Using scripts or manual tagging does not prevent the creation of non-compliant resources, and RBAC roles control access permissions but do not enforce tagging.
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
Can you give examples of how Azure Policy can be used beyond tagging?
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