An administrator manages an Azure subscription. The administrator applies a tag named `CostCenter: Operations` and a `CanNotDelete` lock to a resource group named `rg-ops-prod`. The resource group contains an Azure Virtual Machine named `vm-ops-web`.
Consider the following statement: 'Because the tag and lock are applied at the resource group level, `vm-ops-web` inherits the `CanNotDelete` lock—preventing its deletion—but does not inherit the `CostCenter: Operations` tag.'
Is this statement true or false?
Answer: Answer
Answer
True
The statement is correct because resource locks in Azure are inherited from parent scopes to child resources, while tags are not inherited automatically.
Step-by-Step Solution
Key Concept
Azure resource locks are inherited by child resources from their parent scopes, whereas Azure tags applied to resource groups are not inherited by individual resources within those groups.