Skip to Content

AZ-900: Do Azure Resource Locks Prevent Deletion and Modification?

Learn how read-only and delete locks affect Azure resources and their inheritance from parent resource groups. Master this key concept for the AZ-900 certification exam.

Table of Contents

Question

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

  • A read-only lock prevents users from deleting an Azure resource.
  • Users can modify an Azure resource that has a delete lock applied.
  • All Azure resource inherit the locks assigned to their parent resource group.

Answer

A read-only lock prevents users from deleting an Azure resource: Yes

Users can modify an Azure resource that has a delete lock applied: Yes

All Azure resource inherit the locks assigned to their parent resource group: Yes

Explanation

A read-only lock prevents users from deleting an Azure resource: Yes
This is correct. A read-only lock prevents an Azure resource from being deleted. When a read-only lock is applied to a resource, users cannot delete the resource, but they can still read and modify its properties.

Users can modify an Azure resource that has a delete lock applied: Yes
This is also true. A delete lock prevents an Azure resource from being deleted, but it does not prevent modifications to the resource’s properties. Users can still update settings, configurations, and other attributes of a resource that has a delete lock.

All Azure resources inherit the locks assigned to their parent resource group: Yes
Correct. Azure resource locks are inherited by child resources. When you apply a lock to a resource group, all the resources within that group inherit the same lock. This allows you to protect an entire set of resources with a single lock applied at the parent level.

In summary, read-only locks prevent deletion but allow modification, delete locks only prevent deletion, and locks are inherited by child resources from their parent resource group. Understanding these key distinctions is important for effectively managing and securing your Azure environment.

Microsoft AZ-900 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-900 exam and earn Microsoft AZ-900 certification.