AZ-204 Practice Question: Connect to and consume Azure services and third-party services
Exhibit
{
"properties": {
"enabled": true,
"events": [
"Microsoft.Storage.BlobCreated",
"Microsoft.Storage.BlobDeleted"
],
"destination": {
"endpointType": "WebHook",
"properties": {
"endpointUrl": "https://myapp.azurewebsites.net/api/events"
}
},
"filter": {
"subjectBeginsWith": "/blobServices/default/containers/images/",
"subjectEndsWith": ".jpg"
}
}
}Refer to the exhibit. The exhibit shows an Azure Event Grid subscription configuration. You notice that the webhook endpoint is not receiving events when a .png file is uploaded to the 'images' container. What is the most likely reason?
⚠ Common exam trap
The trap here is that candidates often overlook subject filtering as the cause of selective event delivery, assuming instead that the webhook endpoint is misconfigured or that authentication is the issue, when in fact the filter is silently discarding events based on the subject string.
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
✓
The subject filter excludes .png files
The exhibit shows an Event Grid subscription with a subject filter configured to only include events where the subject ends with '.jpg'. Since a .png file upload would have a subject ending in '.png', the filter excludes it, preventing the event from being sent to the webhook endpoint. Therefore, the subject filter is the most likely reason the webhook is not receiving .png file events.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The subscription is disabled
Why it's wrong here
The 'enabled' property is set to true.
- ✗
The destination endpoint type is incorrect
Why it's wrong here
WebHook is a valid endpoint type.
- ✗
The webhook endpoint requires authentication
Why it's wrong here
While authentication might be needed, the filter is the direct cause for .png files.
- ✓
The subject filter excludes .png files
Why this is correct
The filter 'subjectEndsWith' is '.jpg', so .png files are filtered out.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-204 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 AZ-204 exam.