
Answer-first summary for fast verification
Answer: Microsoft.EventGrid
To trigger an Azure Data Factory pipeline when a file arrives in an Azure Data Lake Storage Gen2 container, the **Microsoft.EventGrid** resource provider must be enabled. This is because Azure Event Grid provides an event-driven publish-subscribe model that natively integrates with Azure Data Factory for event-based triggers. **Why Microsoft.EventGrid is correct:** - Azure Event Grid supports blob storage events (including Azure Data Lake Storage Gen2) and can trigger Data Factory pipelines when specific events occur, such as file creation or deletion. - The integration allows you to create event-based triggers in Data Factory that subscribe to events from Azure Data Lake Storage Gen2, ensuring the pipeline runs automatically upon file arrival. - This approach aligns with Azure best practices for event-driven architectures and provides a scalable, serverless solution for handling file-based triggers. **Why other options are incorrect:** - **Microsoft.Sql**: This resource provider is for Azure SQL Database and related services, not for handling storage events or triggering Data Factory pipelines based on file arrivals. - **Microsoft.Automation**: This is for Azure Automation, which focuses on runbook automation and process orchestration, not for event-driven triggers from storage accounts. - **Microsoft.EventHub**: Azure Event Hubs is designed for high-throughput data streaming and ingestion, not for event-based triggers from Azure Data Lake Storage Gen2. Event Hubs does not natively support storage events for triggering Data Factory pipelines. Enabling Microsoft.EventGrid ensures that the necessary event routing infrastructure is in place to detect file arrivals and trigger the Data Factory pipeline efficiently.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You need to trigger an Azure Data Factory pipeline when a file is added to an Azure Data Lake Storage Gen2 container. Which resource provider must you register?
A
Microsoft.Sql
B
Microsoft.Automation
C
Microsoft.EventGrid
D
Microsoft.EventHub
No comments yet.