SQS Flashcards

1
Q

____ is a web service that gives you access to message queues that can be used to store messages while waiting for a computer to process them.

A

SQS

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

____ is a distributed queue system that enables web service apps to quickly and reliably queue messages that one component in the app generates to be consumed by another component.

A

SQS

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

A _____ is a temp repo for messages that are awaiting processing.

A

queue

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

Using _____, you can decouple the components of an app so they run independently, easing message management between components.

A

SQS

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

Any component of a _____ app can store messages in the queue.

A

distributed

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

Messages can contain up to ____kb of text in any format.

A

256kb

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

Any component can later retrieve the messages programatically using the ___ ___.

A

SQS API

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

The _____ acts as a buffer between the component producing and saving data, and the component resolving the data for processing.

A

queue

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

The queue resolves issues that arise if the producer is producing work faster than the consumer can procesws it, or if the producer or consumer are only intermittently conencted to the network.

T or F

A

True

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

SQS offers _____ as the default queue type.

A

standard.

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

a ___ queue lets you have a nearly-unlimited number of transactions per second.

A

standard

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

____ queues guarantee that a message is delivered at least once.

A

standard

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

occasionally, (because of the highly distributed architecture that allows high throughput), more than one copy of a message might be delieverd out of order.

T or F

A

True

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

___ queues provide best effort ordering which ensures that messages are generally delivered in the same order they are sent.

A

standard

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

The ____ queue complements the standard queue.

A

FIFIO

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

The most important features of this queue type are ____ delivery and exactly once processing: The order in which messages are sent and received is strictly preserved and a message is delivered once and remains available until a consumer processes and deletes it; duplicates are not introduced into the queue.

A

FIFO (first in first out)

17
Q

FIFO queues also support message groups that alloow ____ transactions per second (TPS), but have all the capabilities of standard queues.

A

300

18
Q

___ is pull based, not pushed based.

A

SQS

19
Q

SQS messagesa re ____kb in size

A

256

20
Q

sqs messages can be kept in the queue from ___ min to ___ days

A

1, 14

21
Q

SQS default retention period is ____ days

A

4

22
Q

____ guarantees your messages will be processed at least once.

A

SQS

23
Q

The ______ timeout is the amount of time that the message is invisible in the SQS queue after a reader picks up that message.

A

visibility

24
Q

Provided the job is processed before the visibility timeout expires, the message will then be ___ from the queue.

A

deleted

25
Q

If the job is not processed within that time, the message will become visible again and another _____will process it. This could result in the same message being delievered twice.

A

reader

26
Q

default visibility timeout is ____ seconds

A

30

27
Q

increase the visibility timeout if your task takes longer than ____ seconds

A

30

28
Q

max visibility timeout is ____ hours

A

12

29
Q

SQS ____ polling is a way to retrieve messages from your SQS queues

A

long

30
Q

While the regular ____ polling returns immediately (even if the message queue being polled is empty), long polling doesn’t return a response until a message arrives in the message queue, or the long poll times out.

as such, long polling can save you money.

A

short

31
Q

____ allows you to decouple the components of an app, so that they are independent

A

SQS

32
Q
A