Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The AZ-900 Microsoft Azure Fundamentals Exam practice bank has 688 more like it. Try 10 free: instant score, no account.
An administrator manages a critical production storage account in Azure. The team needs to update configuration settings as requirements change, but the organization must prevent anyone from accidentally deleting the storage account.
Which Azure resource lock type should the administrator apply to the storage account?
The Contributor role is a built-in Azure RBAC role that allows a user or security principal to create and manage all types of Azure resources within a scope, but does not grant the ability to manage access permissions to other users.
The Contributor role grants full permission to delete resources. Assigning or maintaining the Contributor role alone does not protect the storage account from accidental deletion by the administrator or automated scripts.
*/write and */delete) capabilities for resources.Assigning the Contributor role would be correct if the objective was to grant a developer or team full operational control over resources within a resource group, without needing deletion prevention safeguards.
An Azure Resource Manager CanNotDelete lock (also referred to as CannotDelete or Delete) is a governance safeguard applied to subscriptions, resource groups, or individual resources. Its primary purpose is to block deletion operations while still permitting authorized users to read and modify resource configurations.
A CanNotDelete lock is the optimal choice because it precisely satisfies the requirement to prevent deletion while maintaining the administrative ability to change and update the storage account configuration.
The Reader role is a built-in Azure Role-Based Access Control (Azure RBAC) role that grants permissions to view existing resources across a specified scope without granting permissions to make changes or deletions.
Assigning the Reader role does not fulfill the stated requirements for two reasons:
Assigning the Reader role would be correct if the objective was to give an auditor or observer view-only access to inspect the storage account without granting any editing rights.
A ReadOnly lock is an Azure Resource Manager lock type that restricts a resource so that authorized users can read its state and configuration, but cannot delete it or update any of its configuration properties.
Applying a ReadOnly lock prevents administrators from modifying the storage account configuration. The scenario specifically requires administrators to update settings as needs change. Under a ReadOnly lock, all update, write, and HTTP POST management actions (such as regenerating keys or altering network access rules) are blocked.
A ReadOnly lock would be the appropriate choice if the resource configuration were strictly finalized and no team members were permitted to make modifications, updates, or configuration changes.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated