Application Integration Flashcards
What is the SQS default retention and max retention?
4 days default
14 days max
What is the latency for SQS?
less than 10ms
What is the max message size in SQS?
256KB
Can you include metadata in your SQS message?
Yes
What do you get back when you send a message to SQS?
An identifier
MD5 hash of the body
When polling SQS, how many messages can you receive at a time?
10
What is the SQS process from start to finish?
A message is created
A consumer polls the queue
A consumer processes the message and deletes it from the queue
What is the throughput for an SQS fifo queue?
3K messages per second with batching and 300/s without
How do you send messages larger than 256 in Amazon SQS?
Use the SQS extended client
Can SQS support multiple applications?
No
Using SQS, what happens to a message that was not processed in the visibility timeout?
It goes back to the queue. When it exceeds the configurable threshold for how many times it can go back to the queue, it goes to the dead letter queue. The threshold is the MaximumReceives.
What is the Redrive task in SQS?
It moves messages in the DLQ to the queue without needing to create custom code.
What can SNS publish to?
Email, SMS, HTTP endpoints
How do you configure cross account SNS access?
Access policies. Similar to bucket policies.
Can you subscribe SQS to SNS queues?
Yes