
Answer-first summary for fast verification
Answer: Set up VPC, subnets, and security group for Lambda.
Option D is the correct answer. To securely access the Amazon Aurora DB cluster without crossing the public internet, the Lambda functions need to be configured within the same VPC as the DB cluster. This setup involves configuring the VPC, subnets, and a security group for the Lambda functions. By doing so, the communication between the Lambda functions and the DB cluster will use private IP addresses within the VPC, ensuring it does not traverse the public internet.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A developer is migrating features from a legacy monolithic application to AWS Lambda. The Amazon Aurora DB cluster used by the application is within a VPC's private subnets. The Lambda functions must securely access this DB cluster without internet exposure. What configuration ensures this?
A
Set DB cluster's public access to Yes.
B
Use an Amazon RDS database proxy for Lambda.
C
Implement a NAT gateway and security group for Lambda.
D
Set up VPC, subnets, and security group for Lambda.