An administrator applies a ReadOnly resource lock to an Azure subscription. A database administrator with Owner permissions at the resource group level attempts to scale up an Azure SQL Database located in a resource group within that subscription. Which of the following describes the outcome of this action?
- AThe operation succeeds because the database administrator has Owner permissions at the resource group level, which override the inherited lock.
- The operation is blocked because the database inherits the ReadOnly lock from the subscription level, which prevents modifying resource configurations.Answer
- CThe operation succeeds because the ReadOnly lock only prevents the deletion of resources, not configuration changes.
- DThe operation succeeds because resource locks applied at the subscription level do not inherit down to individual resources.
Answer
The operation is blocked because the database inherits the ReadOnly lock from the subscription level, which prevents modifying resource configurations.
The correct option is that the operation is blocked because the database inherits the ReadOnly lock from the subscription level. In Azure, resource locks applied at a parent scope (like a subscription) are inherited by all child resources. Furthermore, a ReadOnly lock prevents any modification to resource configurations, including scaling operations.
Step-by-Step Solution
Key Concept
Resource Locks Inheritance and ReadOnly Restrictions