Topic 1 Question 64
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?
Configure the DB cluster's public access setting to Yes.
Configure an Amazon RDS database proxy for he Lambda functions.
Configure a NAT gateway and a security group for the Lambda functions.
Configure the VPC, subnets, and a security group for the Lambda functions.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: D
D is correct, NATGateway is for when we want Lambda to access the public when it is in a private VPC
👍 3Dun62023/03/23 - 正解だと思う選択肢: D👍 3Untamables2023/03/26
- 正解だと思う選択肢: D
Explanation: To securely access the Amazon Aurora DB cluster without crossing the public internet, the Lambda functions need to be configured to run within the same VPC as the DB cluster. This involves configuring the VPC, subnets, and a security group for the Lambda functions. This setup ensures that the Lambda functions can communicate with the DB cluster using private IP addresses within the VPC.
👍 3gpt_test2023/04/03
シャッフルモード