Development with AWS Services

An order service must notify independent consumers without waiting for them. Each consumer needs events matching its own order attributes; which approach best meets these requirements?

Show the answer

Correct answerD. Publish events to EventBridge with a matching rule for each consumer

AWhy not this: Synchronous calls make the producer wait for consumer responses.

BWhy not this: Response mappings transform responses; they do not asynchronously route events to independent consumers.

CWhy not this: A shared queue distributes messages among consumers rather than independently notifying each consumer.

DWhy this is right: EventBridge supports asynchronous routing to independent targets using event-pattern matching.

EventBridge rules route matching events to independent targets without making the producer wait for their processing. Consumers sharing one SQS queue compete for messages rather than each receiving the events they need.