A company is designing an application. The application uses an AWS Lambda function to receive information through Amazon API Gateway and to store the information in an Amazon Aurora PostgreSQL database. During the proof-of-concept stage, the company has to increase the Lambda quotas significantly to handle the high volumes of data that the company needs to load into the database. A solutions architect must recommend a new design to improve scalability and minimize the configuration effort. Which solution will meet these requirements?
Select one answer.
Marked answer: D
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose D1
correct answer is D
Chose D1
Using an SQS queue to decouple the API-ingest Lambda from the DB-writer Lambda gives you automatic buffering, smoothing of traffic spikes, and built-in retry/backoff semantics with minimal configuration. It keeps a serverless architecture (no EC2), requires little operational work, and avoids changing the database.
Chose D1
Use SQS as a buffer between two Lambda functions to build a scalable, decoupled, and resilient pipeline for ingesting and storing data into Aurora PostgreSQL with minimal configuration effort.