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.
Create a custom RBAC role that restricts resource creation without the required tags.
Use a PowerShell script to add the required tags to all resources in the resource group.
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 happens if a resource already exists without required tags?
Open an interactive chat with Bash
How can Azure Policy deny the creation of non-compliant resources?
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 .