SQS Flashcards Preview

AWS FAQs > SQS > Flashcards

Flashcards in SQS Deck (25):
1

Can I delete all messages in a queue without deleting the queue itself?

Yes, using the PurgeQueue action.

2

Does SQS provide message ordering?

Yes and No.

Standard queues may not preserve ordering, but the newer FIFO queues guarantee that they will preserve ordering.

3

In general, you should use a maximum of __________ for a long-poll timeout.

20 seconds

4

True or False:  SQS is PCI DSS Level 1 certified.

True.

5

An SQS message can contain up to __________ metadata attributes.

10

6

Does SQS guarantee delivery of messages?

Yes.

Standard queues provide at-least-once delivery.

FIFO queues provide exactly-once delivery.  This means that each message is delivered once and remains in the queue until a consumer process deletes it.

7

How does SQS handle messages that can't be processed?

Dead letter queues are available but must be configured.

8

What is the maximum number of inflight messages for a standard queue?

120,000

9

The default message retention period is __________.

4 days

10

Visibility timeout can be set between __________ and __________.

0 seconds, 12 hours.

11

True or False:  SQS doesn't provide the ability to encrypt messages in a queue.

False.

SQS provides the ability to encrypt messages using KMS keys.

12

Delivery delay can be between __________ and __________.

0 seconds, 15 minutes

13

The period of time during which SQS prevents other consumers from receiving and processing a particular message.

Visibility timeout.

14

Receive message wait time can be set between __________ and __________.

0 seconds, 20 seconds

15

For anonymous access, what is the value of the SenderId attribute for a message?

The author's IP address.

16

How is SQS different from SNS?

SQS is a message queue service used by distributed apps to exchange messages through a "pull" model; polling required.

SNS allows apps to send messages to multiple subscribers through a "push" mechanism; no polling required.

17

SQS messages can be between __________ and __________ in size.

1 B, 256 KB

18

Message retention period can be set between __________ and __________.

1 minute, 14 days

19

True or False:  A message queue's name must be unique within the AWS account.

True.

20

True or False:  SSE encrypts the body of a message and the message metadata.

False.

SSE only encrypts the body of the message.

21

What is the Receive Message Wait Time?

The max amount of time a long-polling request will wait before returning an empty response.

22

What is SQS long polling?

A way to retrieve messages that, unlike short polling, doesn't return a response until a message arrives in the queue or times out.

23

What is a visibility timeout?

A period of time during which SQS prevents other consumers from receiving and processing a particular message.

24

Can I share messages between queues in different regions?

No.

Each SQS queue is independent with each region.

25

True or False:  SQS supports message metadata.

True.