Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a serverless application using AWS Lambda, how should a developer enable a Lambda function to access an Amazon RDS instance in a private subnet within a VPC, given that the necessary permissions role is already assigned to the function?
A
Assign a public IP to the DB instance and adjust its security group for Lambda's IP.
B
Create an AWS Direct Connect for connectivity between Lambda and the DB instance.
C
Configure CloudFront to secure the connection between Lambda and the DB instance.
D
Set Lambda to connect to the VPC's private subnets and update security groups for access to the DB instance.