Microsoft Azure Developer Associate AZ-204 Practice Question
You configure an Event Grid event subscription on a storage account to forward Microsoft.Storage.BlobCreated events to an Azure Service Bus queue. The application that reads from the queue must receive only events in which the blob metadata key named "category" has the value "audit". You must meet this requirement without changing the application code. Which event-subscription setting should you configure?
Add an advanced filter that uses the StringEquals operator on data.metadata.category to match the value "audit".
Define a subject filter that specifies the prefix "/audit/" and leave the suffix empty.
Enable dead-lettering on the event subscription so that non-matching events are discarded.
Create an Event Grid domain and route the events through a topic filter that selects the required metadata.
Configure an advanced filter that applies the StringEquals operator to the data.metadata.category field with a value of "audit". Advanced filters run on the Event Grid service, so the Service Bus queue receives only matching events. Subject filters work only on the subject property, dead-lettering stores undeliverable events but does not filter them, and Event Grid domains determine publisher topology rather than per-event filtering.
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 advanced filter in Azure Event Grid?
Open an interactive chat with Bash
How does the StringEquals operator work in Azure Event Grid filtering?
Open an interactive chat with Bash
Can a subject filter replace an advanced filter 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 .