Your company has an Azure subscription containing multiple resource groups. You need to grant administrative permissions to three new IT support engineers to manage virtual machines within a specific resource group. The solution must minimize administrative overhead and follow Azure governance best practices.
Which of the following approaches should you implement?
- AAssign the Virtual Machine Contributor role directly to each of the three user accounts at the resource group scope.
- Create a Microsoft Entra ID group containing the three engineers, and assign the Virtual Machine Contributor role to the group at the resource group scope.Answer
- CCreate a Microsoft Entra ID group containing the three engineers, and configure a Microsoft Entra Privileged Identity Management (PIM) active assignment that permanently assigns the Virtual Machine Contributor role to the group.
- DCreate an Azure Policy definition with a Deny effect to automatically deploy the Virtual Machine Contributor role assignment for the three engineers when the resource group is created.
Answer
Create a Microsoft Entra ID group containing the three engineers, and assign the Virtual Machine Contributor role to the group at the resource group scope.
The correct answer is to create a Microsoft Entra ID security group, add the three engineers to the group, and assign the Virtual Machine Contributor role to the group at the resource group scope. This adheres to the Azure governance best practices of group-based access control and the principle of least privilege, while reducing the administrative effort needed to manage access rights.
Step-by-Step Solution
Key Concept
Group-based role assignments and least privilege scopes are fundamental to Azure RBAC and subscription governance.
Estimated Time:45s