Simple Queue Service (SQS) Flashcards

1
Q

Which is the number of messages that an Amazon SQS queue can store (backlog)?

A

The number of messages that an Amazon SQS queue can store is unlimited.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the default, minimum and maximum SQS queue message retention time?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How many messages are supported per SQS queue (in flight)?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does SQS handle scalability?

A

Amazon SQS can process each buffered request independently, scaling transparently to handle any load increases or spikes without any provisioning instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you manage large Amazon Simple Queue Service (Amazon SQS) messages (greater than 256 KB and up to 2 GB)?

A

Use Amazon Simple Storage Service (Amazon S3) and the Amazon SQS Extended Client Library for Java.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What each producer should do to make sure that Amazon SQS preserves the order in which messages are sent and received?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the tag that specifies that an SQS message belongs to a specific message group?

A

MessageGroupId

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens if an SQS message with a particular message deduplication ID is sent successfully?

A

Any messages sent with the same message deduplication ID are accepted successfully but aren’t delivered during the 5-minute deduplication interval.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Can you change the SQS queue type?

A

No, you can’t change the SQS queue type after it’s created.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly