You manage an Azure subscription that contains an Azure Key Vault named `KeyVault1` and an Azure App Service web app named `WebApp1` in the East US region. You must configure diagnostic settings to meet the following logging requirements:
- Audit logs for all cryptographic key operations in `KeyVault1` must be retained for exactly 365 days.
- HTTP server logs from `WebApp1` must be streamed to a non-Azure security information and event management (SIEM) system in near real-time.
Which of the following configuration actions should you perform? (Select TWO.)
- Create a diagnostic setting on `WebApp1` to send `AppServiceHTTPLogs` to an Azure Event Hubs namespace.Cevap
- Create a diagnostic setting on `KeyVault1` to send `AuditEvent` logs to an Azure storage account, and configure a lifecycle management policy on the storage account.Cevap
- CCreate a diagnostic setting on `KeyVault1` and configure the built-in retention settings slider to 365 days.
- DCreate a diagnostic setting on `WebApp1` to send web server logs to a Log Analytics workspace and configure the workspace data retention period to 365 days.
Cevap
Create a diagnostic setting on the web app to send HTTP logs to an Event Hubs namespace, and create a diagnostic setting on the Key Vault to send audit logs to a storage account managed by a lifecycle policy.
To satisfy the requirements, the App Service HTTP logs must be routed to an Azure Event Hubs namespace to allow near real-time ingestion by the non-Azure SIEM. The Key Vault audit logs, containing cryptographic key operations, are routed to a storage account where a lifecycle management policy controls the exact 365-day retention. This matches current Azure Monitor capabilities where the built-in diagnostic setting retention slider is retired.
Adım Adım Çözüm
Anahtar Kavram
Azure Monitor Diagnostic Settings Destinations and Retention
Tahmini Süre:3m 0s