Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator managing a resource group that contains several critical resources. You need to prevent accidental deletion of these resources while still allowing authorized users to modify them as needed. What is the best way to achieve this?
Implement an Azure Policy that prevents resource deletion within the resource group.
Apply a CanNotDelete lock at the resource group level.
Assign the Contributor role to authorized users at the resource group level.
Apply a ReadOnly lock at the resource group level.
Applying a CanNotDelete lock at the resource group level prevents resources from being deleted but allows modifications. This ensures that authorized users can update the resources without the risk of accidental deletion. A ReadOnly lock would prevent both deletions and modifications, which is not desired. Assigning the Contributor role permits deletions and does not safeguard against accidental removal. Using an Azure Policy to prevent deletions is possible but adds unnecessary complexity compared to applying a lock.
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 a CanNotDelete lock in Azure?
Open an interactive chat with Bash
What are the differences between CanNotDelete and ReadOnly locks?
Open an interactive chat with Bash
What is the role of Azure Policy in resource management?
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