Design Resilient Architectures

An order API must accept work while processing workers are unavailable, retry work after worker crashes, and isolate repeatedly failing orders. Which design elements meet these requirements? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. An Amazon SQS queue between the API and workersC. An SQS dead-letter queue with a redrive policyE. An SQS visibility timeout covering normal processing

AWhy this is right: The queue durably buffers accepted work independently of worker availability.

BWhy not this: A load balancer routes requests to available targets but does not retain work during a worker outage.

CWhy this is right: A redrive policy moves repeatedly unsuccessful messages to a separate queue for investigation.

DWhy not this: Caching completed orders does not buffer pending work or isolate messages that repeatedly fail.

EWhy this is right: A message becomes available again if the worker fails to delete it before the visibility timeout expires.

SQS buffers work during outages, its visibility timeout permits retries after worker failure, and a dead-letter queue isolates messages after repeated unsuccessful receives. An Application Load Balancer distributes requests but does not durably buffer work when workers are unavailable.