An administrator deploys a new shipping application. The deployment includes a resource group named rg-shipping-prod that contains an Azure App Service web app and an Azure SQL database. The administrator applies a tag named CostCenter: Shipping and a CanNotDelete resource lock directly to rg-shipping-prod. Which of the following describes the resource governance status of the Azure SQL database?
- AThe database inherits both the CanNotDelete resource lock and the CostCenter: Shipping tag.
- BThe database inherits the CostCenter: Shipping tag, but the CanNotDelete resource lock only applies to the resource group level and does not block the deletion of the database.
- The database inherits the CanNotDelete resource lock, preventing its deletion, but does not inherit the CostCenter: Shipping tag.Cevap
- DThe database inherits the CanNotDelete resource lock, which prevents authorized users from modifying the configuration of the database or reading its connection strings.
Cevap
The database inherits the CanNotDelete resource lock, preventing its deletion, but does not inherit the CostCenter: Shipping tag.
The correct option is that the database inherits the CanNotDelete resource lock, preventing its deletion, but does not inherit the CostCenter: Shipping tag. This is because Resource Manager locks are inherited by all resources within the resource group scope, while resource group tags are not automatically inherited by child resources.
Adım Adım Çözüm
Anahtar Kavram
Azure resource locks are inherited by child resources, whereas Azure tags applied to a resource group are not automatically inherited by its resources.
Tahmini Süre:1m 30s