AWS Certified Solutions Architect – Professional — Question 110
Your company plans to host a large donation website on Amazon Web Services (AWS). You anticipate a large and undetermined amount of traffic that will create many database writes. To be certain that you do not drop any writes to a database hosted on AWS.
Which service should you use?
Answer options
- A. Amazon RDS with provisioned IOPS up to the anticipated peak write throughput.
- B. Amazon Simple Queue Service (SQS) for capturing the writes and draining the queue to write to the database.
- C. Amazon ElastiCache to store the writes until the writes are committed to the database.
- D. Amazon DynamoDB with provisioned write throughput up to the anticipated peak write throughput.
Correct answer: B
Explanation
The correct choice is B, Amazon Simple Queue Service (SQS), as it allows for capturing writes in a queue format, ensuring that no data is lost during peak traffic. Option A and D involve databases that can handle writes but may not guarantee no loss of writes during high demand. Option C is not suitable since it only caches writes without ensuring persistence to the database.