nerdexam
Amazon

DVA-C02 · Question #69

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…

The correct answer is D. Configure the VPC, subnets, and a security group for the Lambda functions. NATGateway is for when we want Lambda to access the public when it is in a private VPC. https://docs.aws.amazon.com/lambda/latest/dg/foundation-networking.html

Submitted by carlos_mx· Mar 5, 2026Development with AWS Services

Question

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?

Options

  • AConfigure the DB cluster's public access setting to Yes.
  • BConfigure an Amazon RDS database proxy for he Lambda functions.
  • CConfigure a NAT gateway and a security group for the Lambda functions.
  • DConfigure the VPC, subnets, and a security group for the Lambda functions.

How the community answered

(46 responses)
  • A
    9% (4)
  • B
    4% (2)
  • C
    2% (1)
  • D
    85% (39)

Explanation

NATGateway is for when we want Lambda to access the public when it is in a private VPC. https://docs.aws.amazon.com/lambda/latest/dg/foundation-networking.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice