Question 800
For this Azure AI backend: A storage account emits many events, but an AI indexer should run only for .pdf objects in the documents container. Which corrective design should the engineer implement?
Explanation
Correct Answer
Add the appropriate subject filters to the storage Event Grid subscription. The scenario specifically states: A storage account emits many events, but an AI indexer should run only for .pdf objects in the documents container. Event Grid subscriptions support subject prefix/suffix and advanced filters for targeted delivery. This change targets the named service and constraints rather than a different workflow. Validate the result by checking A synthetic PDF upload triggers the indexer while an image upload does not. The important remaining qualification is: Filtering cannot verify that a .pdf file contains safe or valid PDF content.
Incorrect Answers
Event Grid domains can expose domain topics for publisher-managed event isolation. That addresses a different mechanism; this question turns on Add the appropriate subject filters to the storage Event.
Event Grid custom event delivery depends on the selected schema and required event envelope fields. In the present case the governing issue is Pdf objects in the documents container, which this does not resolve.
Event Grid namespace topics can support pull delivery patterns for eligible configurations. That observation may hold without resolving the relevant issue: Add the appropriate subject filters to the storage Event.