An administrator needs to configure access to an Azure resource group named 'App-RG'. A developer named User1 must be able to restart virtual machines and modify storage accounts inside 'App-RG'. However, User1 must not be allowed to delegate resource access permissions to other users.
Which of the following configurations should the administrator implement?
- Assign the Contributor role to User1 at the 'App-RG' scope.Cevap
- BAssign the Reader role to User1 at the 'App-RG' scope and assign an Azure Policy that permits resource modifications.
- CAssign the Owner role to User1 at the 'App-RG' scope and apply a ReadOnly resource lock to 'App-RG'.
- DCreate an Azure Policy assignment that grants write and restart actions specifically to User1's account.
Cevap
Assign the Contributor role to User1 at the 'App-RG' scope.
The correct configuration is to assign the Contributor role at the resource group scope. In Azure RBAC, the Contributor role grants full access to manage resources, including restarting virtual machines and modifying storage accounts, but does not allow the user to assign roles to others. This satisfies both requirements of managing the resources and preventing permission delegation.
Adım Adım Çözüm
Anahtar Kavram
Azure Role-Based Access Control (RBAC)
Tahmini Süre:1m 0s