AI-200 Practice Question: Troubleshooting an Azure Function triggered by an Azure Event Grid subscription
You are troubleshooting an Azure Function triggered by an Azure Event Grid subscription. The function is failing to receive events. Which TWO diagnostic steps should you take in the Azure Portal or via Azure CLI? Each correct answer is a valid troubleshooting action.
⚠ Common exam trap
AI-200 often tests whether candidates can identify the correct diagnostic surfaces for Event Grid delivery failures, luring them toward AMQP, Service Bus session, or Event Hubs checkpoint options that belong to other services.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Inspect the configured dead-letter blob storage container for undelivered event files.
Option A is correct because Event Grid supports a dead-letter destination (a Storage blob container) where events are written when they cannot be delivered to the subscriber, so inspecting that container reveals undelivered event files and their failure reasons. Option C is correct because Event Grid exposes metrics such as Delivery Failed Events, Dropped Events, and Matched Events in Azure Monitor, which directly show whether events are being matched to the subscription and whether delivery to the function is failing. Option B is not applicable because AMQP port 5671 is used by Service Bus and Event Hubs, not by Event Grid, which delivers events over HTTPS (port 443) to webhook/function endpoints. Option D is not applicable because Service Bus session lock renewal is a Service Bus feature unrelated to Event Grid subscriptions. Option E is not applicable because Event Hubs consumer group checkpoints relate to Event Hubs consumption, not to Event Grid event delivery to an Azure Function.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Inspect the configured dead-letter blob storage container for undelivered event files.
Why this is correct
Inspecting the dead-letter container reveals events Event Grid could not deliver, confirming whether delivery failed after matching. This satisfies the diagnostic need to distinguish subscription or filtering faults from endpoint failures, since dead-lettered files only appear when delivery attempts to the function were exhausted.
- ✗
Verify the AMQP listener port 5671 firewall rules on the function app.
Why it's wrong here
Event Grid delivers events over HTTPS webhooks, not AMQP, so port 5671 firewall rules are irrelevant to event delivery. It is tempting because AMQP 5671 is the standard port for Service Bus and Event Hubs, and verifying it would be correct when troubleshooting those AMQP-based services.
- ✓
Check Event Grid metric charts for delivery failures, dropped events, and matched events.
Why this is correct
Event Grid metric charts expose delivery failures, dropped events and matched events, directly revealing whether the subscription matched the event and whether delivery to the function endpoint failed. This satisfies the stem's need to diagnose why events never reach the function, distinguishing publisher filtering issues from endpoint delivery problems.
- ✗
Review Service Bus session lock renewal logs.
Why it's wrong here
Service Bus session lock renewal logs relate to Service Bus queues, not Event Grid subscriptions, so they reveal nothing about event delivery. It is tempting because session locks are a genuine troubleshooting area, and reviewing them would be correct when diagnosing a Service Bus-triggered function with session-enabled queues.
- ✗
Check Event Hubs consumer group checkpoint offset status.
Why it's wrong here
Event Hubs consumer group checkpoints track offset progress for Event Hubs streams, not Event Grid subscriptions, so this reveals nothing about the failing trigger. It is tempting because checkpoint lag genuinely diagnoses missed events — but only when Event Hubs, not Event Grid, delivers them.
About these practice questions
This AI-200 question is part of Courseiva's 418-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
You might also like
Similar AI-200 questions
- Your team is developing an Azure Function that acts as an Event Grid webhook subscriber. You want to test the function l…
- An event subscriber endpoint hosted on an Azure App Service web app is failing to receive events from an Azure Event Gri…
- You are designing a multi-tenant AI ingestion pipeline using Azure Event Hubs. You need to ensure that low-priority tena…
- An application publishes custom events to an Azure Event Grid custom topic. You need to route events dynamically based o…
- Your enterprise application uses Azure Event Grid. Which TWO event schemas are natively supported when publishing events…
Written and reviewed by Johnson Ajibi, MSc IT Security
Security Systems Architect · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This AI-200 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-200 exam.