Microsoft Azure Fundamentals AZ-900 Practice Question
An organization needs to prevent critical Azure resources from being accidentally modified or deleted. Which Azure feature should they use to accomplish this?
Apply resource locks to prevent changes to the resources
Use Azure Policy to enforce compliance rules
Move the resources to a separate subscription
Implement Azure Role-Based Access Control (RBAC) to restrict user permissions
Azure Resource Locks provide a simple, broad safeguard against accidental deletion or modification. You can apply a Delete (CanNotDelete) or Read-only lock at the subscription, resource-group, or individual-resource scope, and the lock overrides Role-Based Access Control (RBAC) permissions-no user can perform the blocked action until the lock is removed.
RBAC limits what actions an identity can perform, but if a user (for example, an Owner or Contributor) already has delete or write permissions, RBAC alone will not stop that user from removing or changing the resource.
Azure Policy is primarily a governance tool. By authoring custom policies with the Deny or DenyAction effects you can indeed block specific create, update, or delete requests, but doing so requires granular policy definitions and is not intended as a quick, blanket safeguard like a lock.
Moving resources to another subscription does not itself restrict modifications; the resources remain subject to the permissions and policies in the destination subscription.
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 resource locks in Azure?
Open an interactive chat with Bash
How does Azure Role-Based Access Control (RBAC) differ from resource locks?
Open an interactive chat with Bash
What is the purpose of Azure Policy, and how does it relate to resource locks?
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...
IT & Cybersecurity Package Join Premium for Full Access