Quiz - Chapter 14 - Decoupling Workflows Flashcards

1
Q

What type of subscription can SNS retry if a message fails to deliver?

A

HTTP(s)

SNS can only immediately retry sending a message to an HTTP(S) endpoint.

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

Which tool can be used to sideline malformed SQS messages?

A

Dead-letter queues (DLQ)

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

What type of firewall can be used in conjunction with API Gateway to help prevent DDoS attacks?

A

Web Application Firewall

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

What is the maximum length of time a message may remain in an SQS queue?

A

14 Days

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

Which service is SNS commonly paired with to alert users that an alarm has gone off?

A

CloudWatch

SNS and CloudWatch are commonly paired together

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

If your application needs to process 5,000 messages per second, which type of SQS queue would you use?

A

SQS Standard

SQS Standard gives you a nearly unlimited number of transactions per second.

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

Which layers of our applications need to be loosely coupled?

A

Internal and external

All levels of your architecture need to be loosely coupled!

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

How can you ensure that your SQS messages arrive in the correct order?

A

Use an SQS FIFO queue

SQS FIFO guarantees that your messages will arrive in the correct order.

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

Which tool can be used to monitor the queue depth of a DLQ?

A

CloudWatch

CloudWatch is the go-to tool for any sort of monitoring in AWS.

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