A company has an Azure environment with a management group named Tenant-MG. Under Tenant-MG, there is a subscription named Enterprise-Sub, which contains a resource group named App-RG.
An administrator needs to assign permissions to a developer named Jordan. Jordan must be able to view all resources across the entire Enterprise-Sub subscription, but must only be able to create and manage resources within App-RG.
Which combination of role assignments should the administrator configure?
- AAssign Jordan the Contributor role at the Enterprise-Sub scope, and assign an Azure Policy that denies resource creation outside of App-RG.
- BAssign Jordan the Reader role at the Tenant-MG scope, and the Owner role at the App-RG scope.
- CAssign Jordan the Contributor role at the Tenant-MG scope, and apply a ReadOnly resource lock to all resource groups in Enterprise-Sub except App-RG.
- Assign Jordan the Reader role at the Enterprise-Sub scope, and the Contributor role at the App-RG scope.Cevap
Cevap
Assign Jordan the Reader role at the Enterprise-Sub scope, and the Contributor role at the App-RG scope.
Assigning the Reader role at the subscription scope (Enterprise-Sub) ensures that the permissions inherit down to all resource groups and resources within that subscription, allowing the user to view everything. Assigning the Contributor role at the resource group scope (App-RG) grants the necessary permissions to create and manage resources specifically within that resource group. Since Azure RBAC permissions are additive, the user will have Contributor access in App-RG and Reader access elsewhere in the subscription.
Adım Adım Çözüm
Anahtar Kavram
Azure RBAC scopes, built-in roles, and permission inheritance