AWS Certified Developer – Associate (DVA-C02) — Question 523

A developer is deploying a new Node.js AWS Lambda function that is not connected to a VPC. The Lambda function needs to connect to and query an Amazon Aurora database that is not publicly accessible. The developer is expecting unpredictable surges in database traffic.

What should the developer do to give the Lambda function access to the database?

Answer options

Correct answer: A

Explanation

Amazon RDS Proxy manages database connection pools, allowing AWS Lambda functions to handle unpredictable traffic surges without exhausting database connection limits. It also allows Lambda functions to securely access private Amazon Aurora databases without requiring the Lambda function to be placed in a VPC or exposing the database publicly. Other options, such as opening public access or using an empty security group, do not address connection pooling or security requirements correctly.