Azure Fundamentals AZ-900 · Describe Azure Management and Governance · medium
An administrator wants to allow developers to read, modify, and start/stop existing Virtual Machines in a production Resource Group while preventing anyone—including Subscription Owners until the lock is removed—from accidentally deleting the VMs. Which control should be applied?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: A. A CanNotDelete Resource Lock applied to the production Resource Group
Azure Resource Locks add a protective layer on top of role-based access control and apply to every user, including Owners. A CanNotDelete lock (shown as Delete in the portal) lets authorized users still read and modify a resource, so developers can update, start, and stop VMs. It blocks only delete operations. Locks are inherited, so a lock on the production Resource Group covers every VM in it, including ones added later. An Owner or User Access Administrator can remove the lock, and that is the deliberate step that must happen before a deletion. This is why the question says deletion is blocked until the lock is removed. The common trap is choosing ReadOnly because it sounds safer. ReadOnly behaves like giving everyone only the Reader role, even for people with higher permissions. It blocks write actions, and operations such as starting or stopping a VM are control-plane actions that can fail under it. Remember that CanNotDelete protects against deletion, and ReadOnly protects against both change and deletion.
Why the other options are wrong
- B. A ReadOnly Resource Lock applied to the production Resource Group — A ReadOnly lock stops all write and update operations, so developers could not modify, start, or stop the VMs. It prevents deletion, but it also blocks the changes the administrator wants to allow.
- C. A billing cost Tag Environment:Production attached to each VM — Tags are name-value metadata used to organize resources and allocate costs. They have no effect on permissions or on deletion, so a VM tagged Environment:Production can still be deleted.
- D. An Azure Service Health maintenance alert rule on the Subscription — Azure Service Health alerts notify you about Azure service incidents and planned maintenance affecting your resources. They are notifications only, do not enforce any restriction, and cannot stop someone from deleting a VM.
More Describe Azure Management and Governance questions
- Which browser-based interactive shell environment built into the Azure Portal provides pre-authenticated access to…
- Which free, built-in Azure service analyzes your deployed resource configurations and usage telemetry to provide…
- A company wants to manage, govern, and apply Azure Policy and Defender for Cloud configurations to Linux and Windows…
- Which three factors directly influence the monthly cost of running an Azure Virtual Machine and its outbound internet…
- Which two Infrastructure-as-Code (IaC) formats are natively understood by Azure Resource Manager for declarative…
- An operations team needs to distinguish between two Azure monitoring services: one that notifies them when an Azure…
- A cloud governance team wants to automatically deny any deployment of Virtual Machines in regions outside Central…
- A web application consists of an Azure App Service web tier with a 99.95% SLA connected in series to an Azure SQL…
All Describe Azure Management and Governance questions and the topic overview →
Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.