
Answer-first summary for fast verification
Answer: Use an Amazon RDS proxy for Lambda function database connections.
The correct answer is A: Use an Amazon RDS proxy for Lambda function database connections. The RDS proxy acts as an intermediary between your application and the database, managing and pooling connections efficiently. This ensures that even during database upgrades, the Lambda functions can continue to operate without connection failures, as the proxy can handle transient issues with the database. By using the RDS proxy, the company can avoid connection failures that occur during upgrades and ensure customer data is recorded consistently.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a solutions architect ensure that customer data is stored during database upgrades in an AWS environment where Lambda functions are used to save data to an Amazon Aurora MySQL database, and database upgrades cause connection failures?
A
Use an Amazon RDS proxy for Lambda function database connections.
B
Extend Lambda function execution time and implement a database write retry mechanism.
C
Utilize Lambda local storage for temporary data persistence with a separate function for database synchronization.
D
Implement an Amazon SQS FIFO queue for data storage and a Lambda function for subsequent database storage.
No comments yet.