An organization has a web application deployed across two Azure regions: East US and North Europe.
The organization must comply with the following monitoring and compliance requirements:
- Data residency: Log data generated by resources in North Europe must reside within the European Union (EU). Log data generated in East US must reside within the United States.
- Access control: Security administrators in North Europe must only be able to view logs from North Europe. Security administrators in East US must only be able to view logs from East US.
- Policy enforcement: All new resources deployed in these regions must automatically have diagnostic settings configured to route logs to the appropriate destination without manual intervention.
You need to design a monitoring and governance solution that meets these requirements while minimizing administrative complexity.
Which solution should you recommend?
- Deploy one Log Analytics workspace in East US and another in North Europe. Configure diagnostic settings on regional resources to route to their local workspace. Assign access permissions to regional security administrator Microsoft Entra ID groups at the workspace scope. Deploy Azure Policy definitions using the DeployIfNotExists effect to configure diagnostic settings for new resources.Answer
- BDeploy a single centralized Log Analytics workspace in East US. Configure diagnostic settings on all resources in both regions to route to this workspace. Use resource-context RBAC to restrict European administrators to only view resources in North Europe.
- CDeploy one Log Analytics workspace in East US and another in North Europe. Configure diagnostic settings on regional resources to route to their local workspace. Assign the Log Analytics Reader role directly to the individual Azure user accounts of each regional security administrator. Deploy Azure Policy definitions using the DeployIfNotExists effect to configure diagnostic settings for new resources.
- DDeploy one Log Analytics workspace in East US and another in North Europe. Configure diagnostic settings on regional resources to route to their local workspace. Assign access permissions to regional security administrator Microsoft Entra ID groups at the workspace scope. Deploy Azure Policy definitions using the Deny effect to configure diagnostic settings for new resources.