You have an Azure subscription that contains an Azure Application Gateway named AppGW1. You need to configure diagnostic settings for AppGW1 to meet the following requirements:
- All Web Application Firewall (WAF) logs must be streamed to a third-party Security Information and Event Management (SIEM) system with minimal latency.
- All platform metrics must be archived for a minimum of 365 days at the lowest possible cost.
- WAF logs must not be archived in the storage account, and platform metrics must not be streamed to the SIEM system.
Which configuration should you use to meet these requirements?
- Two diagnostic settings: one that routes WAF logs to an Azure Event Hub, and a second that routes platform metrics to an Azure Storage account.Cevap
- BA single diagnostic setting that routes both WAF logs and platform metrics to both an Azure Event Hub and an Azure Storage account.
- CA single diagnostic setting that routes both WAF logs and platform metrics to an Azure Storage account, and assign the Storage Blob Data Contributor role to the SIEM service principal on the storage account.
- DTwo diagnostic settings: one that routes WAF logs to a Log Analytics workspace, and a second that routes platform metrics to the same Log Analytics workspace with a 365-day retention policy.
Cevap
Two diagnostic settings: one that routes WAF logs to an Azure Event Hub, and a second that routes platform metrics to an Azure Storage account.
The correct answer provides the necessary separation of telemetry streams. By creating two diagnostic settings, the administrator can configure the first setting to route only WAF logs to the Azure Event Hub, and the second setting to route only the metrics to the Azure Storage account. This architecture prevents WAF logs from being archived in storage and prevents metrics from being pushed to the SIEM, optimizing ingestion costs and complying with security policies.
Adım Adım Çözüm
Anahtar Kavram
Azure Monitor Diagnostic Settings Routing Behavior