exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 6 question 39 discussion

Actual exam question from Microsoft's AZ-204
Question #: 39
Topic #: 6
[All AZ-204 Questions]

HOTSPOT -

You have an Azure Service Bus namespace that contains a topic named Topic1.

You plan to create a subscription named Sub1 to Topic1. In Sub1, you plan to filter messages from Topic1 based on their system properties and apply an action that will annotate each filtered message.

You need to configure the filtering.

How should you configure the filtering? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
21c5438
Highly Voted 4 months, 3 weeks ago
SQL Annotate the metadata of the original message Source: https://learn.microsoft.com/en-us/azure/service-bus-messaging/topic-filters#actions
upvoted 6 times
Regex37
4 months, 3 weeks ago
Agreed. First I thought Correlation filter would be better because it can also filter on system properties and has better performance, but then I noted that you need to use SQL filter when you want to apply a filter action.
upvoted 1 times
...
21c5438
4 months, 3 weeks ago
Not sure about the second one. The page says: "Each rule with an action produces a copy of the message. This message will have a property called RuleName where the value is the name of the matching rule. The action can add or update properties, or delete properties from the original message to produce a message on the subscription."
upvoted 1 times
Regex37
4 months, 3 weeks ago
I cannot spot any requirement in the question that would make actively copying the message necessary (even when copies are created by Service Bus when applying actions). So I would go with "Annotate the metadata of the original message" as well.
upvoted 1 times
...
...
...
2f17d52
Most Recent 1 month, 1 week ago
SQL filters support filtering on both system and custom properties using SQL-like syntax. Filter actions (like updating message metadata or body) are only supported with SQL filters, not correlation filters. Correlation filters are simpler and faster but do not support filter actions. So SQL and Annotate the metadata
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...