ExamQuestions.com

Register
Login
AWS Certified Developer Associate Exam Questions

Amazon

AWS Certified Developer Associate

451 / 474

Question 451:

You are writing a Lambda function that fetches messages from an SQS queue, processes the messages and writes the results to a database. The SQS queue and the Lambda function are deployed in the same AWS region. However, when the Lambda function is configured in a VPC, it cannot read messages from the queue. There is no such problem when the Lambda function is not within VPC. How would you quickly resolve the issue?

Answer options:

A.Configure the SQS queue in the same VPC subnet.
B.Modify the SQS security group to allow the incoming traffic from the Lambda function.
C.Create the VPC endpoint for Amazon SQS and modify the Lambda function to use the endpoint.
D.Configure a direct connect link between the Lambda function and the SQS queue.