Question: A developer wants to connect an Amazon RDS DB instance to an AWS Lambda function. The Amazon RDS credentials are stored in AWS Secrets Manager.

A developer wants to connect an Amazon RDS DB instance to an AWS Lambda function. The Amazon RDS credentials are stored in AWS Secrets Manager. The developer wants to
optimize the performance of the Lambda function. The developer wants to reduce the latency that is associated with retrieving parameters.
Which solution will meet these requirements MOST securely?
A. Update the Lambda code to store and retrieve the database credentials in a Lambda layer.
B. Use the AWS Parameters and Secrets Lambda Extension to cache and manage the retrieval of parameters.
C. Store the database credentials in the Lambda function environment variables.
D. Retrieve the parameters by using API Gateway. Pass the parameters to the Lambda function as input parameters.
 A developer wants to connect an Amazon RDS DB instance to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!