You need to route only blob-created events for files ending in '.jpg'. How is this configured most efficiently?
- A Filter in the handler code
- B Subject filtering with subjectEndsWith on the subscription (correct answer)
- C A separate storage account
- 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.