Applications Flashcards

1
Q

What AWS Services allows you to decouple your application workloads?

A

SQS

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

Which AWS service allows you to define and coordinate synchronous and asynchronous tasks?

A

AWS SWF

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

What are the actors of an SWF?

A

Starters - Initiate the workflow
Deciders - Control flow
Workers - Perform work

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

True or False: A SWF can only be assigned once?

A

True; a SWF task is never duplicated

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

Which AWS Service pushes notifications?

A

SNS

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

Which AWS Service requires polling?

A

SQS

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

What order does a Standard SQS Queue provide?

A

Loose -FIFO (and is the default FIFO); order is not guaranteed

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

What is the standard guarantee QoS for SQS?

A

At Least Once

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

What are dead letter queues?

A

Dead letter queues are queues that receive messages from other source queues; they’re used to collect messages that never got processed in the source queues for analytics later

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

What is a Visibility Timeout?

A

A visibility timeout is a period of time that SQS prevents other consumers from receiving or processing a message. Increase the visibility timeout >1 second for messages that may take a long time to process.

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

What is Long Polling?

A

Long polling allows you not to return a response until a message shows up in the queue or the poll times out. Use long polling to decrease your overall costs by reducing the number of empty receives (which you still pay for)

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

What is the deduplication interval for FIFO queues?

A

5 minutes

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

What are the throughput limits for FIFO queues?

A

3000 mps for batching, or up to 300 mps for non batched messages

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

How can you deliver messages to different consumers?

A

Use message groups

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

What is the default retention for an SQS message?

A

4 days (1 m to 14 days range)

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

What are the message size limits for SQS?

A

1KB- 256KB

17
Q

What is the default Visibility Timeout?

A

30s (0s - 12hr range)

18
Q

What is the maximum Long Polling wait time?

A

20s (recommended)

19
Q

What kinds of notifications can SNS generate?

A
Email
SQS
SMS
Push to google, amazon, windows, China
Push to HTTP endpoint
20
Q

What is an SNS Topic?

A

A topic groups multiple recipients by recipients subscriptions; It has its own ARN