You have an SNS topic with multiple email subscriptions. If a message is published to the topic, what happens to the message delivery?
Think about how SNS fan-out messaging works.
SNS topics deliver messages to all subscribed endpoints simultaneously. It is a push-based system that fans out messages to every subscription.
Which of the following is NOT a valid protocol for an SNS subscription?
Consider common protocols supported by SNS for message delivery.
SNS supports email, SMS, HTTP, HTTPS, SQS, Lambda, and application protocols. FTP is not supported.
You want to restrict who can publish messages to your SNS topic. Which AWS feature should you use to enforce this?
Think about how AWS controls permissions on SNS topics.
SNS Topic Policies allow you to specify who can publish or subscribe to the topic using IAM conditions. Security groups and WAF do not apply to SNS topics.
You have an SNS topic that sends messages to multiple SQS queues. How can you ensure that no messages are lost if one SQS queue is temporarily unavailable?
Consider how to handle message failures in SQS subscriptions.
Dead-letter queues capture messages that can't be delivered or processed, preventing message loss. SNS retries have limits and FIFO topics do not guarantee no loss if queues are down.
You expect a very high volume of messages published to an SNS topic. Which approach best optimizes throughput and scalability?
Think about how to scale SNS topics horizontally.
Partitioning messages across multiple SNS topics reduces bottlenecks and improves throughput. FIFO topics limit throughput and synchronous publishing slows performance.