Which Pub/Sub messaging service can broadcast a notification of an event to multiple subscribers (such as email, Lambda, and SQS) at the same time when the event occurs?

1 / 1
Select an answer
CorrectA

Explanation

Selecting a Pub/Sub service that broadcasts to multiple subscribers.

  • 1broadcastFan-out = SNS
  • 2Pub/SubA publish-subscribe model = SNS
  • 3notificationDelivering event notifications
ACorrect

Amazon SNS

Correct. Amazon SNS (Simple Notification Service) is a Pub/Sub messaging service. It can broadcast (fan out) a message published to a single topic to multiple subscribing destinations at the same time.

BIncorrect

Amazon SQS

Amazon SQS is a service for storing messages in a queue so that a single consumer retrieves and processes them.

A message is consumed when it is retrieved, so the fan-out of broadcasting the same notification to multiple subscribers is met by SNS, and this is incorrect.

CIncorrect

Amazon EventBridge

Amazon EventBridge is an event bus that routes events to targets such as AWS services based on rules.

It is powerful for application integration, but the Pub/Sub requirement of push broadcasting to subscribers, including direct notification to email, is met by SNS, and this is incorrect.

DIncorrect

Amazon Kinesis Data Streams

Kinesis Data Streams is a service that ingests large volumes of streaming data for analytics, which consumers then read.

The consumer side pulls the stream itself, so the requirement to push a broadcast notification to email, Lambda, and SQS is met by SNS, and this is incorrect.

Key Takeaway

'Pub/Sub' and 'broadcast to multiple subscribers (fan-out)' point to Amazon SNS. A queue that stores messages one-to-one for sequential processing is SQS. The combination (SNS to multiple SQS) is also common.