Simple Notification Service (SNS) / Simple Queue Service (SQS) Flashcards
- Amazon SNS supports encrypted topics. When you publish messages to encrypted topics Amazon SNS uses “…this service…” to encrypt your messages
Customer master keys (CMK), powered by AWS KMS
True or False, with SNS the subscriber decides what format they get the message in
True
In SNS, What are some common endpoints for subscriptions?
- “HTTPs and HTTPs”: create webhooks into your web-application
- “Email”: good for internal email notifications (only supports plain text)
- “Amazon SQS”: place SNS message into SQS queue
- “Email-JSON”: sends you json via email
- “AWS Lambda”: triggers a lambda function
- “SMS”: send a text message
- “Platform application endpoints”: Mobile Push
How many topics can each subscription subscribe to?
1
Sending push notifications directly to apps on mobile devices is known as what
Application As Subscriber
This is a fully managed pub/sub messaging service
Simple Notification Service (SNS)
Publishers use the AWS API via ___ or ___ to push messages to a topic. Many AWS services integrate with SNS and act as publishers.
AWS CLI or SDK
Is SQS Push or Pull based?
Pull based
You publish messages to SQS using this AWS component
AWS SDK
When using the Extended Java Client Library what is the maximum message size?
2GB
What is the minimum size of a message?
1 byte
In SQS What are the 2 available types of queues?
- FIFO Queues
- Standard Queue
Which queue type supports multiple ordered message groups within a single queue?
FIFO Queue
AWS SQS First-In-First-Out queues support multiple ordered message groups within a single queue. Limited to 300 transactions per second. SWS FIFO queues have all the same capabilities of a Standard Queue
SQS message queues guarantee a message will be delivered how many times
kjuz ˌgɛrənˈti
“at least” once
Queue type that supports multiple ordered message groups within a single queue
FIFO Queue