AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 47

A real estate company is building an internal application so that real estate agents can upload photos and videos of various properties. The application will store these photos and videos in an Amazon S3 bucket as objects and will use Amazon DynamoDB to store corresponding metadata. The S3 bucket will be configured to publish all PUT events for new object uploads to an Amazon Simple Queue Service (Amazon SQS) queue.
A compute cluster of Amazon EC2 instances will poll the SQS queue to find out about newly uploaded objects. The cluster will retrieve new objects, perform proprietary image and video recognition and classification update metadata in DynamoDB and replace the objects with new watermarked objects. The company does not want public IP addresses on the EC2 instances.
Which networking design solution will meet these requirements MOST cost-effectively as application usage increases?

Answer options

Correct answer: C

Explanation

The correct answer is C because placing the EC2 instances in a private subnet and using VPC endpoints allows communication with Amazon SQS, S3, and DynamoDB without the need for public IP addresses. Options A and B involve public subnets which do not align with the requirement of not having public IPs, while D does not provide a VPC interface endpoint for SQS, which is necessary for the architecture described.