nerdexam
MicrosoftMicrosoft

AZ-204 · Question #416

AZ-204 Question #416: Real Exam Question with Answer & Explanation

The correct arrangement uses CorrelationFilter where simple property matching (equality) is needed because CorrelationFilter is optimized for matching well-known message properties and maximizes throughput by using an indexed hash-based lookup rather than expression evaluation. S

Submitted by minji_kr· Mar 30, 2026Develop message-based solutions using Azure Service Bus - specifically implementing subscription filters to route messages efficiently while optimizing throughput (AZ-204: Implement Azure Service Bus messaging)

Question

Drag and Drop Question You are implementing an order processing system. A point of sale application publishes orders to topics in an Azure Service Bus queue. The Label property for the topic includes the following data: The system has the following requirements for subscriptions: You need to implement filtering and maximize throughput while evaluating filters. Which filter types should you implement? To answer, drag the appropriate filter types to the correct subscriptions. Each filter type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Explanation

The correct arrangement uses CorrelationFilter where simple property matching (equality) is needed because CorrelationFilter is optimized for matching well-known message properties and maximizes throughput by using an indexed hash-based lookup rather than expression evaluation. SQLFilter is used when complex conditional logic or arithmetic expressions are required on the Label or custom properties, as it supports rich SQL-like predicate syntax. No Filter is applied to the subscription that must receive all messages without any restriction, meaning every message passes through regardless of content.

Topics

#Azure Service Bus#Topic Subscriptions#Message Filtering#CorrelationFilter vs SQLFilter

Community Discussion

No community discussion yet for this question.

Full AZ-204 PracticeBrowse All AZ-204 Questions