Microsoft Azure Administrator Associate AZ-104 Practice Question
A company wants to protect important Azure resources from accidental modification or deletion by users. Which feature should they use to set such protection on these resources?
Resource locks provide a dedicated management feature that can be applied at the subscription, resource-group, or individual resource level with two modes: CanNotDelete (Delete) and ReadOnly. A lock overrides all RBAC permissions, ensuring that even users who normally have delete or write rights cannot perform those operations until the lock is removed.
Azure Policy can also block create, update, or delete operations through deny or denyAction effects, but it requires a specific policy definition and assignment intended for compliance scenarios rather than quick, ad-hoc protection. Azure RBAC controls who may act on a resource, yet an authorized user can still modify or delete it. Azure Blueprints can attach ReadOnly or DoNotDelete locks to the artifacts it deploys, but that capability is limited to resources managed by the blueprint assignment; for protecting any existing standalone resource, management locks are the simplest and most direct choice.
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 are the two modes of Resource Locks?
Open an interactive chat with Bash
How is Azure Policy different from Resource Locks?
Open an interactive chat with Bash
Why do Resource Locks override RBAC permissions?
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 .