AWS Certified Solutions Architect – Associate (SAA-C03) — Question 553

A company runs an application in a VPC with public and private subnets. The VPC extends across multiple Availability Zones. The application runs on Amazon EC2 instances in private subnets. The application uses an Amazon Simple Queue Service (Amazon SQS) queue.

A solutions architect needs to design a secure solution to establish a connection between the EC2 instances and the SQS queue.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Amazon SQS supports interface VPC endpoints powered by AWS PrivateLink, allowing EC2 instances in private subnets to securely connect to SQS without routing traffic through the public internet. To implement this securely, the interface endpoint must be placed in the private subnets with a security group that permits inbound traffic from the EC2 instances. Gateway endpoints are incorrect because they are only supported for Amazon S3 and Amazon DynamoDB, not Amazon SQS.