An organization has an Azure subscription named Sub1 that contains two resource groups named RG-Admin and RG-Finance. A user named User1 is currently assigned the Owner role at the Sub1 scope. You need to prevent User1 from modifying resources in RG-Finance, while allowing them to manage resources in RG-Admin. The solution must minimize administrative effort and follow the principle of least privilege. Which two actions should you perform? (Choose two.)
- Remove the Owner role assignment for User1 at the Sub1 scope.Cevap
- Assign the Contributor role to User1 at the RG-Admin scope.Cevap
- CAssign the Reader role to User1 at the RG-Finance scope.
- DAssign the Global Administrator role to User1 in Microsoft Entra ID.
- ECreate an Administrative Unit containing RG-Finance and assign User1 the Reader role at that scope.
Cevap
Remove the Owner role assignment for User1 at the Sub1 scope, and assign the Contributor role to User1 at the RG-Admin scope.
To satisfy the requirements, you must first remove the Owner role assignment at the subscription scope. Because Azure RBAC roles are additive, inherited permissions cannot be overridden or denied by assigning a less permissive role at a lower scope. Once the inherited role is removed, assigning the Contributor role at the RG-Admin scope allows the user to manage resources in that resource group without having access to RG-Finance, thereby adhering to the principle of least privilege.
Adım Adım Çözüm
Anahtar Kavram
Azure RBAC role assignments are additive, and inherited permissions cannot be restricted or blocked at a lower scope level.