An organization has multiple application workloads deployed across separate resource groups in a single Azure region. Each workload is managed by a different support team. You are designing a monitoring and log routing architecture that must satisfy the following requirements:
* All resource diagnostic logs must be collected and stored for centralized compliance analysis.
* If a new or existing resource is deployed without diagnostic settings, they must be automatically configured to route logs to the destination.
* Support teams must only be allowed to view the diagnostic logs of the resources within their respective resource groups.
* The administrative overhead for managing log access and workspace configurations must be minimized.
Which design solution should you recommend?
- ADeploy a separate Log Analytics workspace for each resource group. Apply an Azure Policy with the DeployIfNotExists effect to configure diagnostic settings. Assign the Log Analytics Reader role to Microsoft Entra security groups at the workspace level.
- Deploy a single centralized Log Analytics workspace. Apply an Azure Policy with the DeployIfNotExists effect to configure diagnostic settings. Assign the Monitoring Reader role to Microsoft Entra security groups at the resource group level to enable resource-context log access.Cevap
- CDeploy a single centralized Log Analytics workspace. Apply an Azure Policy with the DeployIfNotExists effect to configure diagnostic settings. Assign the Monitoring Reader role directly to individual user accounts of each support team member at the resource group level.
- DDeploy a single centralized Log Analytics workspace. Apply an Azure Policy with the Deny effect to block resource deployments lacking diagnostic settings. Assign the Monitoring Reader role to Microsoft Entra security groups at the resource group level.