A company has an API that receives real-time data from a fleet of monitoring devices. The API stores this data in an Amazon RDS DB instance for later analysis. The amount of data that the monitoring devices send to the API fluctuates. During periods of heavy traffic, the API often returns timeout errors. After an inspection of the logs, the company determines that the database is not capable of processing the volume of write traffic that comes from the API. A solutions architect must minimize the number of connections to the database and must ensure that data is not lost during periods of heavy traffic. Which solution will meet these requirements?
Select one answer.
Marked answer: C
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose C5
You need to also use AWS RDS Proxy becuase lambda will increase parallel and it will cause connection error
Chose C3
//minimize the number of connections to the database and must ensure that data is not lost during periods of heavy traffic// I go for C
3
Decouple the API and the DB with Amazon Simple Queue Service (Amazon SQS) queue.