An enterprise is designing a monitoring and log routing architecture for a healthcare application deployed across two Azure regions: UK South and Switzerland North. The application generates regional database diagnostic logs containing patient health information, and virtual machine performance metrics. The architecture must meet the following requirements:
- All database diagnostic logs must remain strictly within their region of origin due to regional data residency compliance regulations.
- Virtual machine performance metrics must be aggregated centrally in a single workspace in North Europe to facilitate global performance dashboards.
- Diagnostic settings must be automatically applied to any new database or virtual machine resource deployed in these regions.
Which two configurations should you include in the monitoring design? (Select TWO.)
- Configure diagnostic settings on regional database resources to route logs to separate Log Analytics workspaces in UK South and Switzerland North respectively, and configure virtual machine diagnostic settings to route metrics to a centralized Log Analytics workspace in North Europe.Answer
- Create Azure Policy definitions using the DeployIfNotExists effect to automatically deploy the required diagnostic settings when new resources are provisioned.Answer
- CRoute both database diagnostic logs and virtual machine performance metrics from all regions to a single, centralized Log Analytics workspace in North Europe to minimize workspace overhead.
- DDirectly assign the Log Analytics Reader role to individual database administrator accounts on the respective workspaces to control log access.
- EDeploy Azure Policy definitions using the Deny effect to block the creation of any database or virtual machine resource that does not have diagnostic settings pre-configured in the deployment template.