Question 230
Legal and search teams must independently receive each document-approved event without one team's receipt removing it from the other's queue. Which engineering change is the most direct response to the stated failure and constraint?
Explanation
Correct Answer
This remedy fits the observed case: Legal and search teams must independently receive each document-approved event without one team's receipt removing it from the other's queue. Publish to a Service Bus topic with a dedicated subscription for each consumer. The underlying issue is A single queue distributes messages among competing consumers rather than fan-out. Direct acceptance evidence is Both subscriptions receive a copy of every matching message independently.
Incorrect Answers
The alternative addresses: Peek-lock delivery can be retried after a crash even if the side effect already committed. The reported constraint here is different: A single queue distributes messages among competing consumers rather than fan-out. The case-specific choice is: Publish to a Service Bus topic with a dedicated subscription for each consumer.
Auto-forward routing exceeds the allowed transfer hop count. By contrast, the relevant technical condition here is: A single queue distributes messages among competing consumers rather than fan-out. The appropriate selection is: Publish to a Service Bus topic with a dedicated subscription for each consumer.
The message lock expires while the first consumer is still processing. This is a separate requirement; the current case instead hinges on: A single queue distributes messages among competing consumers rather than fan-out. The matching answer is: Publish to a Service Bus topic with a dedicated subscription for each consumer.