Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a company integrate AWS Lambda functions with an Amazon RDS MySQL DB instance within a private subnet of a VPC, after migrating from EC2 instances to a serverless architecture?
A
By creating Lambda functions within the VPC and attaching the AWSLambdaBasicExecutionRole policy, then adjusting the RDS security group for Lambda access.
B
By creating Lambda functions within the VPC and attaching the AWSLambdaVPCAccessExecutionRole policy, then updating the RDS security group for Lambda access.
C
By creating Lambda functions with the AWSLambdaBasicExecutionRole and setting up an interface VPC endpoint, with policies for lambda:InvokeFunction action on each Lambda ARN.
D
By creating Lambda functions with the AWSLambdaVPCAccessExecutionRole and setting up an interface VPC endpoint, with policies for lambda:InvokeFunction action on each Lambda ARN.