An organization deploys a new compliance auditing environment. The deployment contains an Azure resource group named rg-audit-compliance. Inside the resource group, the operations team creates an Azure Storage account named saauditlogs and an Azure Key Vault named kvauditkeys.
To meet compliance requirements, the team performs the following actions:
1. Applies a resource tag named RegulatoryCompliance: PCI-DSS to rg-audit-compliance.
2. Applies a CanNotDelete resource lock named lock-rg-delete to rg-audit-compliance.
Which of the following statements regarding the governance and lock behaviors of these resources are correct?
- The saauditlogs storage account does not automatically inherit the RegulatoryCompliance: PCI-DSS tag.Answer
- The CanNotDelete lock applied to rg-audit-compliance prevents the deletion of saauditlogs.Answer
- CAn administrator can delete saauditlogs without removing the lock because resource locks do not inherit to child resources.
- DAn administrator with the Owner role at the subscription level can delete saauditlogs because RBAC privileges override resource locks.
Answer
The correct statements are that the saauditlogs storage account does not automatically inherit the RegulatoryCompliance: PCI-DSS tag, and the CanNotDelete lock applied to rg-audit-compliance prevents the deletion of saauditlogs.
The correct statements are that tags are not inherited from resource groups to resources, and resource locks are inherited from the resource group scope to child resources. This ensures tag inheritance does not happen automatically, while lock inheritance prevents deletion of the storage account.
Step-by-Step Solution
Key Concept
Azure resource tags do not inherit automatically, whereas resource locks inherit down the resource hierarchy and restrict actions for all users regardless of their RBAC roles.
Estimated Time:1m 30s