Q25 Event Grid Domain 3 · 20–25% of exam Priority · Real Exam

You need to route only blob-created events for files ending in '.jpg'. How is this configured most efficiently?

  1. A Filter in the handler code
  2. B Subject filtering with subjectEndsWith on the subscription (correct answer)
  3. C A separate storage account
  4. D An advanced filter on event time

Shortcut: subjectBeginsWith and subjectEndsWith are evaluated by Event Grid before delivery, avoiding both delivery cost and handler invocations for irrelevant events.