Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions