An administrator manages an Azure resource hierarchy with the following structure:
* Management Group: `MG-Corporate`
* Subscription: `Sub-Production`
- Resource Group: `RG-AppData`
- Key Vault: `kv-prod-secrets`
A compliance auditor named `User-Auditor` requires the Reader role at the `Sub-Production` subscription level. However, organization policy dictates that `User-Auditor` must not be able to view any resources in `RG-AppData`. The administrator assigns the Reader role to `User-Auditor` at the `Sub-Production` subscription scope, and then attempts to assign a custom role that denies read actions to `User-Auditor` at the `RG-AppData` scope.
What is the effect of this configuration on the auditor's permissions?
- AThe auditor will have read access to resources in Sub-Production but will be blocked from accessing resources in RG-AppData because the more specific assignment at the resource group scope overrides the subscription-level assignment.
- BThe auditor will not have read access to any resources in the subscription unless they are also assigned a Microsoft Entra ID administrative role such as Security Reader.
- The auditor will have read access to all resources in both Sub-Production and RG-AppData because Azure RBAC role assignments are additive and standard RBAC does not support user-defined deny assignments.Answer
- DThe auditor will have read access to Sub-Production, and the access to RG-AppData will be blocked only if RG-AppData is scoped to an Administrative Unit that restricts role inheritance.
Answer
The auditor will have read access to all resources in both Sub-Production and RG-AppData because Azure RBAC role assignments are additive and standard RBAC does not support user-defined deny assignments.
The correct answer is that the auditor will have read access to all resources in both Sub-Production and RG-AppData. In Azure RBAC, role assignments are additive. A user's effective permissions are the union of all roles assigned to them. Permissions inherited from a higher scope (Subscription) cannot be restricted or blocked by standard role assignments at a lower scope (Resource Group), as standard RBAC does not support user-defined deny assignments.
Step-by-Step Solution
Key Concept
Azure RBAC inheritance and additive permissions
Estimated Time:1m 30s