An organization has an Azure resource hierarchy with a subscription named sub-billing-data that contains a resource group named rg-invoice-processing. You need to configure access control to meet the following requirements:
* User1 must be able to view all resource configurations and view all role assignments within the sub-billing-data subscription, but must not be able to make any changes.
* User2 must be able to assign Azure roles to other users at the rg-invoice-processing resource group scope, but must not have access to other resource groups. User2 is currently a Microsoft Entra ID Global Administrator and has no Azure RBAC assignments.
Which two actions should you perform? (Select two.)
- Assign the Reader role to User1 at the sub-billing-data subscription scope.Answer
- Assign the User Access Administrator role to User2 at the rg-invoice-processing resource group scope.Answer
- CAssign the Contributor role to User2 at the rg-invoice-processing resource group scope.
- DAssign the Global Administrator role to User2 at the rg-invoice-processing resource group scope.
Answer
Assign the Reader role to User1 at the subscription scope, and assign the User Access Administrator role to User2 at the resource group scope.
The Reader role assigned at the subscription scope provides User1 with the necessary read-only permissions for all resources and role assignments. The User Access Administrator role assigned at the resource group scope enables User2 to manage access control strictly within that resource group, satisfying the principle of least privilege and scope containment.
Step-by-Step Solution
Key Concept
Azure Role Assignments and Scopes