You create an Event Grid subscription with a filter that only allows events where data.category equals "sales". Which events will be delivered to the subscriber?
Think about how exact matching works in Event Grid filters.
Event Grid filters on event data properties require exact matches unless advanced filtering is used. Here, only events where data.category is exactly "sales" are delivered.
You want to create an Event Grid subscription that only receives events where data.amount is greater than 100 and data.region is either "US" or "EU". Which filter configuration achieves this?
Remember that multiple filters combined with AND require all conditions to be true.
Advanced filters allow combining multiple conditions with AND logic. To filter on numeric and string properties together, use numeric and string filters combined with AND.
You have an Event Grid topic publishing events for multiple tenants. You want each tenant to receive only their own events based on data.tenantId. What is the best architecture to achieve this with minimal subscriptions?
Consider how Event Grid filters can isolate events per tenant.
Creating one subscription per tenant with a filter on data.tenantId ensures each tenant only receives their events, reducing unnecessary event delivery and processing.
You want to prevent unauthorized event delivery by ensuring only events with a specific subject prefix are delivered to your subscription. Which filter setup enforces this?
Think about how subject filters work in Event Grid.
Subject filters can specify that only events whose subject starts with a given prefix are delivered, effectively restricting events to a namespace or category.
You manage an Event Grid topic with thousands of event types and many subscriptions. To reduce cost and improve performance, which filtering strategy is best?
Consider the cost and latency impact of filtering at the Event Grid service versus subscriber side.
Subject prefix filters are efficient and reduce the number of events delivered to each subscription, lowering cost and improving performance compared to complex data filters or filtering downstream.