0
0
AWScloud~5 mins

SNS topics and subscriptions in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an SNS topic in AWS?
An SNS topic is like a message board where messages are posted. Subscribers can then receive these messages. It helps send notifications to many receivers at once.
Click to reveal answer
beginner
What does a subscription in SNS do?
A subscription connects a receiver (like an email or phone) to an SNS topic. When a message is sent to the topic, all subscribers get the message.
Click to reveal answer
beginner
Name two common protocols used for SNS subscriptions.
Two common protocols are Email and HTTP/HTTPS. Email sends messages to email addresses, HTTP/HTTPS sends messages to web servers.
Click to reveal answer
intermediate
How does SNS ensure only confirmed subscriptions receive messages?
When you subscribe, SNS sends a confirmation message. The subscriber must confirm by clicking a link or responding. This prevents unwanted messages.
Click to reveal answer
intermediate
What happens if a subscriber endpoint is unreachable in SNS?
SNS retries sending messages several times. If it still fails, the message can be sent to a dead-letter queue if configured, or it is dropped.
Click to reveal answer
What is the main purpose of an SNS topic?
ATo store data permanently
BTo send messages to multiple subscribers
CTo run code automatically
DTo manage user permissions
Which protocol is NOT supported by SNS subscriptions?
AFTP
BSMS
CHTTP
DEmail
What must a subscriber do to start receiving messages from an SNS topic?
ACreate a new topic
BDelete the topic
CConfirm the subscription
DSend a message to the topic
If a subscriber's endpoint is down, what does SNS do?
AStops sending messages forever
BDeletes the subscription immediately
CSends messages to all other subscribers only
DRetries sending messages
Which of these is a valid SNS subscription endpoint?
AAn email address
BA database table
CA virtual machine
DAn S3 bucket
Explain how SNS topics and subscriptions work together to deliver messages.
Think of a newsletter mailing list.
You got /4 concepts.
    Describe what happens when a subscriber endpoint is temporarily unreachable in SNS.
    Imagine sending a letter to a closed mailbox.
    You got /4 concepts.