Microsoft Azure Developer Associate AZ-204 Practice Question
Your company uses Azure Event Grid to route events from multiple services to Azure Storage queues. You must ensure that a queue subscription receives only events whose data.version field is either v2 or v3. Failed deliveries should be stored for later inspection in a storage account named dlstore. What should you do when creating the Event Grid subscription?
Create an event subscription for the queue endpoint that uses a StringIn advanced filter on data.version with the values v2 and v3, and configure a blob dead-letter destination in the dlstore storage account.
Publish the events to a new custom topic that emits only v2 and v3 versions, then deliver the topic directly to the queue with no additional filters.
Create an event subscription that uses a subject prefix of v2 and a suffix of v3, and set the maximum retry attempts to 30.
Enable default filtering and add an Azure Function subscriber that discards events whose data.version is not v2 or v3 before writing the rest to the queue.
An Event Grid subscription can perform server-side content filtering by using advanced filters. The StringIn operator lets you pass through events whose data property matches one of several string values, which satisfies the requirement for data.version equal to v2 or v3. Dead-lettering is enabled on a subscription by specifying a blob container in a storage account; undeliverable events are written there automatically. Subject prefix/suffix filters examine only the subject field, so they cannot filter on data.version. Creating a new custom topic or off-loading filtering to a downstream function both fail to meet the requirement of letting the platform filter and store undelivered events.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an Azure Event Grid subscription?
Open an interactive chat with Bash
How does the StringIn advanced filter work in Azure Event Grid?
Open an interactive chat with Bash
What is a dead-letter destination in Azure Event Grid?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .