An Azure subscription contains a resource group named RG-Prod. Inside RG-Prod, there is a logical Azure SQL Database server named SQLServer1 and an Azure SQL database named SQLDB1.
An administrator applies a ReadOnly resource lock to the subscription. Later, the administrator applies a CanNotDelete resource lock directly to the resource group RG-Prod.
Which of the following actions can a user perform on these resources?
- AScale SQLDB1 to a higher database transaction unit (DTU) limit.
- BAdd a new firewall rule to SQLServer1 to allow client traffic.
- Insert new records into a table within SQLDB1.Answer
- DDelete the CanNotDelete resource lock from the RG-Prod resource group.
Answer
Inserting new records into a table within SQLDB1.
Inserting new records into a table within the database is a data plane operation. Azure Resource Locks only apply to control plane (management) operations managed by Azure Resource Manager (ARM). Therefore, operations like writing data, reading tables, or executing queries inside the database are not blocked by resource locks.
Step-by-Step Solution
Key Concept
Azure resource locks restrict Azure Resource Manager control plane operations but do not affect data plane operations, with inherited locks combining so that the most restrictive lock applies.