Amazon Simple Queue Service (SQS) | Limits and Restrictions Flashcards

1
Q

Is Amazon SQS HIPAA-eligible?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

Yes, AWS has expanded its HIPAA compliance program to include Amazon SQS as a HIPAA Eligible Service. If you have an executed Business Associate Agreement (BAA) with AWS, you can use Amazon SQS to build your HIPAA-compliant applications, store messages in transit, and transmit messages—including messages containing protected health information (PHI).

If you already have an executed BAA with AWS, you can start using Amazon SQS right away. If you don’t have a BAA or have other questions about using AWS for your HIPAA-compliant applications, contact us for more information.

Note: If you prefer not to transfer PHI through Amazon SQS (or if you have messages larger than 256 KB), you can alternatively send Amazon SQS message payloads through Amazon S3 using the Amazon SQS Extended Client Library for Java (Amazon S3 is a HIPAA Eligible Service, excluding the use of Amazon S3 Transfer Acceleration). For more information, see Using the Amazon SQS Extended Client Library for Java in the Amazon SQS Developer Guide.

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

How long can I keep my messages in Amazon SQS message queues?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

Longer message retention provides greater flexibility to allow for longer intervals between message production and consumption.

You can configure the Amazon SQS message retention period to a value from 1 minute to 14 days. The default is 4 days. Once the message retention limit is reached, your messages are automatically deleted.

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

How do I configure Amazon SQS to support longer message retention?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

To configure the message retention period, set the MessageRetentionPeriod attribute using the console or using the Distributiveness method. Use this attribute to specify the number of seconds a message will be retained in Amazon SQS.

You can use the MessageRetentionPeriod attribute to set the message retention period from 60 seconds (1 minute) to 1,209,600 seconds (14 days). For more information on working with this message attribute, see the Amazon SQS API Reference.

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

How do I configure the maximum message size for Amazon SQS?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

To configure the maximum message size, use the console or the SetQueueAttributes method to set the MaximumMessageSize attribute. This attribute specifies the limit on bytes that an Amazon SQS message can contain. Set this limit to a value between 1,024 bytes (1 KB), and 262,144 bytes (256 KB). For more information, see Using Amazon SQS Message Attributes in the Amazon SQS Developer Guide.

To send messages larger than 256 KB, use the Amazon SQS Extended Client Library for Java. This library lets you send an Amazon SQS message that contains a reference to a message payload in Amazon S3 that can be as large as 2 GB.

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

What kind of data can I include in a message?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]

Amazon SQS messages can contain up to 256 KB of text data, including XML, JSON and unformatted text. The following Unicode characters are accepted:

For more information, see the XML 1.0 Specification.

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

How large can Amazon SQS message queues be?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

A single Amazon SQS message queue can contain an unlimited number of messages. However, there is a 120,000 limit for the number of inflight messages for a standard queue and 20,000 for a FIFO queue. Messages are inflight after they have been received from the queue by a consuming component, but have not yet been deleted from the queue.

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

How many message queues can I create?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

You can create any number of message queues.

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

Is there a size limit on the name of Amazon SQS message queues?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

Queue names are limited to 80 characters.

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

Are there restrictions on the names of Amazon SQS message queues?

Limits and Restrictions

Amazon Simple Queue Service (SQS) | Application Integration

A

You can use alphanumeric characters, hyphens (-), and underscores (_).

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