A financial services company organizes its Azure resources using a Management Group hierarchy. The Root Management Group has a child Management Group named FinanceMG, which contains two Azure subscriptions: Sub-Prod and Sub-Dev. A security administrator assigns the Reader role to a user group at the FinanceMG level and assigns a Policy definition at the Root Management Group level. Additionally, a Resource Lock of type CanNotDelete is applied to a specific resource group inside Sub-Prod. Which of the following statements is true regarding how these settings are applied to the resources within the subscriptions?
- Both the Reader role assignment and the policy definition are inherited by all resources within Sub-Prod and Sub-Dev, while the CanNotDelete lock only applies to the specific resource group and its child resources within Sub-Prod.Answer
- BThe policy definition is inherited by both subscriptions, but the Reader role assignment does not inherit down to Sub-Prod and Sub-Dev unless it is explicitly enabled for inheritance at the subscription level.
- CThe Reader role assignment and the Resource Lock are inherited by all resources, but policy definitions assigned at the Root Management Group level do not inherit to child management groups like FinanceMG.
- DThe Reader role assignment and the policy definition are inherited by both subscriptions, and the CanNotDelete lock applied to the resource group in Sub-Prod automatically propagates upward to protect all resources under FinanceMG.
Answer
Both the Reader role assignment and the policy definition are inherited by all resources within Sub-Prod and Sub-Dev, while the CanNotDelete lock only applies to the specific resource group and its child resources within Sub-Prod.
Both Azure RBAC role assignments and Azure Policy definitions inherit downward through the Management Group hierarchy, meaning settings applied at parent management groups affect all child subscriptions and resources. Resource locks, however, only inherit downward from their assignment scope (the resource group) to its child resources, and do not propagate upward or affect other subscriptions.
Step-by-Step Solution
Key Concept
Inheritance behavior of Azure Policies, RBAC role assignments, and Resource Locks in a Management Group hierarchy