QuestionQ47

VerifiedSecurity

A developer is migrating some features from a legacy monolithic application to use AWS Lambda functions instead. The application currently stores data in an Amazon Aurora DB cluster that runs in private subnets in a VPC. The AWS account has one VPC deployed. The Lambda functions and the DB cluster are deployed in the same AWS Region in the same AWS account.

The developer needs to ensure that the Lambda functions can securely access the DB cluster without crossing the public internet.

Which solution will meet these requirements?

Explanation

Lambda functions must be configured within the same VPC as the Aurora DB cluster to enable private communication using private IP addresses. Configuring the VPC, subnets, and security group establishes the necessary network isolation and controls to prevent traffic from traversing the public internet. A NAT gateway is unnecessary for internal VPC communication, RDS Proxy addresses connection pooling rather than network access requirements, and enabling public database access violates security requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!