An Azure subscription contains two resource groups named rg-network and rg-data.
The resource groups have the following configurations:
- rg-network: Has a CanNotDelete lock and is tagged with CostCenter value . It contains a virtual network named vnet-core.
- rg-data: Has a ReadOnly lock and is tagged with CostCenter value . It contains a storage account named sa-logs.
Neither vnet-core nor sa-logs has any directly applied locks or tags.
Which of the following statements are correct? (Select two.)
- The administrator can modify the configuration of vnet-core, but cannot delete it.Cevap
- The administrator is blocked from retrieving the access keys for sa-logs.Cevap
- CThe administrator can retrieve the access keys for sa-logs because locks only affect resource configuration changes.
- DThe sa-logs storage account automatically inherits the CostCenter tag with value from rg-data.
Cevap
The administrator can modify the configuration of vnet-core, but cannot delete it; and the administrator is blocked from retrieving the access keys for sa-logs.
The CanNotDelete lock on the resource group allows modification of the virtual network configuration while blocking its deletion. Additionally, the ReadOnly lock on the resource group blocks POST operations such as listing the storage account access keys for child resources.
Adım Adım Çözüm
Anahtar Kavram
Azure Resource Lock inheritance and Tag inheritance rules