AWS SAA-C03 practice question 7: Resilient architectures
An order system must not lose orders if the processing service is temporarily down, and processing should catch up when it returns. Which design fits?
The options
- A. Write orders to the web server's local disk only
- B. Put orders on an Amazon SQS queue and have the processor read from it
- C. Use an Amazon SNS topic with no subscribers
- D. Have the web tier call the processor directly and drop failures
Answer and why
The correct answer is B: Put orders on an Amazon SQS queue and have the processor read from it
A. Local disk is lost with the instance and not shared.
B. A queue stores messages durably until the consumer is ready, decoupling the two.
C. A topic without subscribers delivers nowhere and does not store messages for later.
D. Direct calls lose orders when the processor is unavailable.
What Resilient architectures tests
Design resilient architectures is about surviving failure: multiple Availability Zones, decoupling with queues, automatic scaling and backup and recovery. Match the recovery objective in the stem to the pattern's cost and speed.
Design resilient architectures is 26% of the SAA-C03 exam. The exam has 65 questions in 130 minutes, so this question is a slice of the real mix, not a prediction of your result.
Try these next
Each one is a free question from the same practice test, with the answer and the reason for every option on its own page.
- A web tier on EC2 must keep serving users if a single Availability Zone fails. What is the best design?
- A relational database for a critical application must survive the loss of an Availability Zone with automatic failover and no manual steps. Which RDS option does this?
- A company needs a disaster recovery strategy with the lowest cost that still keeps a small core of the environment always running and scales up on failover. Which strategy is this?
- An application running on EC2 needs to read objects from one S3 bucket. What is the most secure way to grant access?
Keep going
This is question 7 of 15 in the free AWS SAA-C03 practice test. If you missed it, say why in one sentence before you read on: the reason is what transfers to a differently worded question.