A junior administrator needs to manage and restart virtual machines within a specific resource group. However, the administrator must not be allowed to grant access permissions to other users. Which Azure Role-Based Access Control (RBAC) role should you assign to meet this requirement?
- AReader
- BOwner
- ContributorAnswer
- DAzure Policy
Answer
The Contributor role should be assigned because it allows managing and restarting virtual machines without granting access to other users.
The Contributor role is correct because it grants permissions to create and manage all types of Azure resources, including restarting virtual machines, but it does not allow the assignment of roles in Azure RBAC, satisfying the constraint of not being able to grant access to others.
Step-by-Step Solution
Key Concept
Azure Role-Based Access Control (RBAC) built-in roles and scope