A multinational enterprise operates a hybrid Azure environment under a single Microsoft Entra tenant. The environment is organized under the following management group hierarchy to ensure regulatory compliance and operational isolation:
* Tenant Root Group
* Global-Ops-MG
* Regional-Lz-MG
* EU-Lz-MG
* EU-Prod-Sub (Subscription)
* EU-Dev-Sub (Subscription)
* US-Lz-MG
* US-Prod-Sub (Subscription)
* US-Dev-Sub (Subscription)
A group of regional site reliability engineers (SREs) based in the European Union (EU) needs permissions to manage virtual machine workloads. You must design an identity and governance solution that meets the following requirements:
1. The SREs must be able to start, stop, and resize virtual machines across all subscriptions under the `EU-Lz-MG` management group.
2. The SREs must be prevented from deleting virtual machines in any subscription under `EU-Lz-MG`.
3. The SREs must have no write or delete permissions on resources under the `US-Lz-MG` management group.
4. Access must be granted on-demand and require approval, with all actions audited, to comply with regional financial regulations.
5. The design must minimize administrative overhead and follow the principle of least privilege.
Which design strategy should you implement?
- Define a custom Azure RBAC role with AssignableScopes set to the EU-Lz-MG management group scope. Configure Actions as ["Microsoft.Compute/virtualMachines/*", "Microsoft.Resources/subscriptions/resourceGroups/read"] and NotActions as ["Microsoft.Compute/virtualMachines/delete"]. In Microsoft Entra Privileged Identity Management (PIM) for Azure resources, configure an eligible role assignment for a Microsoft Entra security group containing the SREs at the EU-Lz-MG scope.Cevap
- BDefine a custom Azure RBAC role with AssignableScopes set to the EU-Lz-MG management group scope. Configure Actions as ["Microsoft.Compute/virtualMachines/*", "Microsoft.Resources/subscriptions/resourceGroups/read"] and NotActions as ["Microsoft.Compute/virtualMachines/delete"]. In Microsoft Entra Privileged Identity Management (PIM) for Azure resources, configure an active role assignment for a Microsoft Entra security group containing the SREs at the EU-Lz-MG scope with a permanent duration.
- CDefine a custom Azure RBAC role with AssignableScopes set to the EU-Lz-MG management group scope. Configure Actions as ["Microsoft.Compute/virtualMachines/read", "Microsoft.Compute/virtualMachines/start/action", "Microsoft.Compute/virtualMachines/powerOff/action"]. Assign the custom role directly to individual regional SRE user accounts at the EU-Lz-MG scope using standard Azure RBAC role assignments.
- DAssign the built-in Virtual Machine Contributor role to a Microsoft Entra security group containing the SREs at the EU-Lz-MG scope. To prevent VM deletions, assign an Azure Policy with a Deny effect at the EU-Lz-MG scope targeting the Microsoft.Compute/virtualMachines delete action, and configure the policy assignment as eligible using PIM.