An international retail company hosts containerized application workloads in Azure across the UK South and Southeast Asia regions. To meet governance and compliance requirements, you must design a monitoring and log routing solution that satisfies the following criteria:
- Data Residency: Diagnostic logs generated by resources in Southeast Asia must remain within Southeast Asia, and logs generated in UK South must remain within the UK.
- Access Control: Application development teams must only be able to view logs for their own resources, without being granted permissions to the underlying Log Analytics workspace or logs of other teams.
- Log Enforcement: All newly deployed resources must automatically have diagnostic settings configured to route logs to the appropriate workspace. Non-compliant deployments must be remediated automatically without blocking the resource provisioning process.
Which design strategy should you recommend?
- ADeploy a single global Log Analytics workspace in UK South. Configure resource-context access on the workspace, assign Reader roles on the resource groups to the development teams' Microsoft Entra ID groups, and assign an Azure Policy with a DeployIfNotExists effect.
- Deploy one Log Analytics workspace in UK South and one in Southeast Asia. Enable resource-context access on both workspaces, assign Reader roles on the resource groups to the development teams' Microsoft Entra ID groups, and assign an Azure Policy with a DeployIfNotExists effect.Cevap
- CDeploy one Log Analytics workspace in UK South and one in Southeast Asia. Enable workspace-context access on both workspaces, assign Reader roles on the workspaces directly to the individual developer user accounts, and assign an Azure Policy with a DeployIfNotExists effect.
- DDeploy one Log Analytics workspace in UK South and one in Southeast Asia. Enable resource-context access on both workspaces, assign Reader roles on the resource groups to the development teams' Microsoft Entra ID groups, and assign an Azure Policy with a Deny effect.