Simple Queue Service (SQS) Flashcards
Which is the number of messages that an Amazon SQS queue can store (backlog)?
The number of messages that an Amazon SQS queue can store is unlimited.
What is the default, minimum and maximum SQS queue message retention time?
By default, a message is retained for 4 days. The minimum is 60 seconds (1 minute). The maximum is 1,209,600 seconds (14 days).
How many messages are supported per SQS queue (in flight)?
For most standard queues (depending on queue traffic and message backlog), there can be a maximum of approximately 120,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue).
How does SQS handle scalability?
Amazon SQS can process each buffered request independently, scaling transparently to handle any load increases or spikes without any provisioning instructions.
How can you manage large Amazon Simple Queue Service (Amazon SQS) messages (greater than 256 KB and up to 2 GB)?
Use Amazon Simple Storage Service (Amazon S3) and the Amazon SQS Extended Client Library for Java.
What each producer should do to make sure that Amazon SQS preserves the order in which messages are sent and received?
To make sure that Amazon SQS preserves the order in which messages are sent and received, each producer should use a unique message group ID to send all its messages.
What is the tag that specifies that an SQS message belongs to a specific message group?
MessageGroupId
What happens if an SQS message with a particular message deduplication ID is sent successfully?
Any messages sent with the same message deduplication ID are accepted successfully but aren’t delivered during the 5-minute deduplication interval.
Can you change the SQS queue type?
No, you can’t change the SQS queue type after it’s created.