You are configuring diagnostic settings for an Azure AI Search service to audit administrative actions and query logs. Which destination should you choose if you want to stream these logs into a SIEM tool like Microsoft Sentinel for real-time security analysis?
Event Hubs provides the streaming ingestion endpoint that Microsoft Sentinel consumes natively, so diagnostic logs flow into the SIEM in near real time. Log Analytics and Storage would require extra connectors or polling, failing the real-time security analysis constraint.
Why this answer
Azure AI Search diagnostic settings support three export destinations: Log Analytics workspace, Azure Storage account, and Azure Event Hubs. Event Hubs is the correct choice for streaming telemetry in near real-time to external SIEM platforms such as Microsoft Sentinel, Splunk, or QRadar, because Sentinel natively ingests from Event Hubs via its data connectors. This enables continuous, low-latency forwarding of administrative and query logs for correlation and alerting.
Exam trap
AI-103 often tests the confusion between storage accounts (for archival/retention) and Event Hubs (for real-time streaming to SIEM), so candidates who see 'audit logs' and reflexively pick storage miss the 'real-time' keyword.
How to eliminate wrong answers
Option A is wrong because Azure DevOps pipelines are CI/CD orchestration tools, not log ingestion endpoints, and cannot receive diagnostic settings streams. Option B is wrong because exporting to a local CSV via Azure CLI is a manual, pull-based operation with no real-time streaming capability and no native SIEM integration. Option D is wrong because archiving to a storage account is designed for long-term retention and compliance, not for real-time streaming; storage is a batch/query destination, not a push-based event pipeline.