Which of the following actions meet the requirements?

Posted by: Pdfprep Category: ANS-C00 Tags: , ,

A Lambda function needs to access the private address of an Amazon ElastiCache cluster in a VPC. The Lambda function also needs to write messages to Amazon SQS. The Lambda function has been configured to run in a subnet in the VPC.

Which of the following actions meet the requirements? (Choose two.)
A . The Lambda function needs an IAM role to access Amazon SQS
B . The Lambda function must route through a NAT gateway or NAT instance in another subnet to access the public SQS AP
D . The Lambda function must be assigned a public IP address to access the public Amazon SQS AP
F . The ElastiCache server outbound security group rules must be configured to permit the Lambda function’s security group.
G . The Lambda function must consume auto-assigned public IP addresses but not elastic IP addresses.

Answer: AC

Explanation:

References: https://aws.amazon.com/premiumsupport/knowledge-center/internet-access-lambda-function/

Leave a Reply

Your email address will not be published.