A company is designing the subscription governance structure for its multi-region Azure environment. The environment includes a Production management group that currently contains 15 subscriptions. A centralized operations team requires permissions to start, restart, and monitor virtual machines across all subscriptions within this management group, but they must not be allowed to delete resources or modify virtual machine configurations. The configuration must automatically apply to any new subscriptions added to the Production management group in the future. Additionally, you must ensure that all new virtual machines deployed in these subscriptions are automatically configured with the Azure Monitor agent. Which strategy should you implement to meet the requirements?
- Create a custom Azure RBAC role with the specific permissions to start, restart, and monitor virtual machines. Assign this custom role to a Microsoft Entra ID security group containing the operations team, scoped at the Production management group level. Create and assign an Azure Policy definition with the DeployIfNotExists effect to install the Azure Monitor agent on new virtual machines.Answer
- BCreate a custom Azure RBAC role with the specific permissions to start, restart, and monitor virtual machines. Assign this custom role directly to the individual user accounts of the operations team members, scoped at the Production management group level. Create and assign an Azure Policy definition with the DeployIfNotExists effect to install the Azure Monitor agent on new virtual machines.
- CConfigure Microsoft Entra Privileged Identity Management (PIM) to assign the Virtual Machine Contributor role as permanently active to the operations team at the Production management group level. Create and assign an Azure Policy definition with the DeployIfNotExists effect to install the Azure Monitor agent on new virtual machines.
- DCreate a custom Azure RBAC role with the specific permissions to start, restart, and monitor virtual machines. Assign this custom role to a Microsoft Entra ID security group containing the operations team, scoped at the Production management group level. Create and assign an Azure Policy definition with the Deny effect to block the deployment of virtual machines that do not have the Azure Monitor agent configured.