AWS Certified Solutions Architect – Associate (SAA-C03) — Question 58

A company hosts an application on AWS Lambda functions that are invoked by an Amazon API Gateway API. The Lambda functions save customer data to an Amazon Aurora MySQL database. Whenever the company upgrades the database, the Lambda functions fail to establish database connections until the upgrade is complete. The result is that customer data is not recorded for some of the event.
A solutions architect needs to design a solution that stores customer data that is created during database upgrades.
Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D because using Amazon SQS allows customer data to be temporarily stored during the database upgrade, ensuring it is not lost and can be processed later. Option A does not address the issue of lost data during upgrades, while option B only extends the execution time without solving the root problem. Option C is not feasible since Lambda local storage is ephemeral and will not persist beyond the function's lifespan.