Ultimate access to all questions.
A company is operating a serverless application composed of multiple AWS Lambda functions and Amazon DynamoDB tables. They have developed new features that necessitate the Lambda functions to interact with an Amazon Neptune DB cluster. This Neptune DB cluster is situated within three subnets of a VPC. What solutions enable the Lambda functions to access both the Neptune DB cluster and the DynamoDB tables? (Select two options.)
Explanation:
The correct answers are B and E. AWS Lambda functions need to be deployed within the same VPC as the Amazon Neptune DB cluster for direct access due to Neptune’s VPC constraints. Option B is correct because it involves creating private subnets in the Neptune VPC and allows the Lambda functions to egress to the internet through a NAT gateway. Option E is also correct as it involves creating private subnets in the Neptune VPC for the Lambda functions, and leveraging a VPC endpoint specifically for DynamoDB to route DynamoDB traffic, keeping the traffic within the AWS network and providing better security and performance.