Quiz - Chapter 14 - Decoupling Workflows Flashcards
What type of subscription can SNS retry if a message fails to deliver?
HTTP(s)
SNS can only immediately retry sending a message to an HTTP(S) endpoint.
Which tool can be used to sideline malformed SQS messages?
Dead-letter queues (DLQ)
What type of firewall can be used in conjunction with API Gateway to help prevent DDoS attacks?
Web Application Firewall
What is the maximum length of time a message may remain in an SQS queue?
14 Days
Which service is SNS commonly paired with to alert users that an alarm has gone off?
CloudWatch
SNS and CloudWatch are commonly paired together
If your application needs to process 5,000 messages per second, which type of SQS queue would you use?
SQS Standard
SQS Standard gives you a nearly unlimited number of transactions per second.
Which layers of our applications need to be loosely coupled?
Internal and external
All levels of your architecture need to be loosely coupled!
How can you ensure that your SQS messages arrive in the correct order?
Use an SQS FIFO queue
SQS FIFO guarantees that your messages will arrive in the correct order.
Which tool can be used to monitor the queue depth of a DLQ?
CloudWatch
CloudWatch is the go-to tool for any sort of monitoring in AWS.