Queues with SQS · Question 11 of 12
During promotions a web shop receives 50 times more orders than usual. The database collapses under the write load, and no order may be lost. Which architecture solves this?
1 answer is correct. Hard Created with AI
Show answer
Answer
- B Buffer orders in SQS and have scaling consumers write them
Explanation
The queue safely absorbs every peak, and the consumers write at a pace the database can handle. Read replicas do not accept writes, and SNS cannot write into a database.