Which steps must be taken to allow the function to access both the RDS resource and the public endpoint?

An AWS Lambda function must read data from an Amazon RDS MySQL database in a VPC and also reach a public endpoint over the internet to get additional data.
Which steps must be taken to allow the function to access both the RDS resource and the public endpoint? (Select TWO.)
A. Modify the default configuration for the Lambda function to associate it with an Amazon VPC private subnet.
B. Modify the default network access control list to allow outbound traffic.
C. Add a NAT Gateway to the VPC.
D. Modify the default configuration of the Lambda function to associate it with a VPC public subnet.
E. Add an environmental variable to the Lambda function to allow outbound internet access.

amazon-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.