Microsoft Azure Fundamentals AZ-900 Practice Question
An Azure administrator wants to prevent important virtual machines from being accidentally deleted or modified during routine maintenance. Which feature should they use to ensure these resources remain unaffected by changes?
Resource locks can be applied at the subscription, resource-group, or individual-resource level. A CanNotDelete (Delete) lock stops deletion, and a ReadOnly lock stops both deletion and modification. Even users with Owner rights must first remove the lock before they can perform the blocked action, so a lock is an effective safeguard during maintenance.
Access Control (IAM) and Role-Based Access Control (RBAC) determine who can act on a resource, but a user who already has the necessary role could still delete or modify it. Azure Policy is intended for governance at scale; it can audit resources and, when configured with effects such as deny or denyAction, can block non-compliant operations. However, it is not designed as a quick, ad-hoc mechanism to freeze a single VM. For that scenario, a resource lock is the most direct solution.
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 types of resource locks in Azure?
Open an interactive chat with Bash
How does a resource lock differ from Azure Policy?
Open an interactive chat with Bash
Can Resource Locks be overridden by users with Owner roles?
Open an interactive chat with Bash
Microsoft Azure Fundamentals AZ-900
Azure Management 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 .