SQS Flashcards

1
Q

SQS. What does it mean. What does it do.

A

Simple Queue Service

Handles delivered of messages between components.

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

True or false. SQS is fully managed.

A

True.

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

SQS. Explain visibility timeouts.

A

When the consumer takes an item off the queue. It disappears from the queue so other can not process it.

If the consumer does not mark the item as processed. It then reappears on the queue.

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

Explain important characteristics of standard SQS queues

A

Unlimited throughput. Good chance of messages wing ordered correctly.

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

FIFO Queue. Explain.

A

First in first out.

Preserves message order, but has lower throughout.

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

Long Polling in SQS. Explain.

A

Long polling doesn’t return the poll, till there is a message in the queue or the poll time’s out.

This has potential cost saving benifits.

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

Short polling in SQS. Explain.

A

Short polling is the standard option. The poll returns immediately, even if the message queue is empty.

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

Does message visibility eliminate the risk that you might process a message from an SQS queue twice?

A

It reduces. It does not eliminate.

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

You need to guarantee a message on a queue is only processed once. Harry pie of queue should you use.

A

FIFO

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