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

A network engineer has deployed an Amazon EC2 instance in a private subnet in a VPC. The VPC has no public subnet. The EC2 instance hosts application code that sends messages to an Amazon Simple Queue Service (Amazon SQS) queue. The subnet has the default network ACL with no modification applied. The EC2 instance has the default security group with no modification applied.
The SQS queue is not receiving messages.
Which of the following are possible causes of this problem? (Choose two.)

Answer options

Correct answer: A, C

Explanation

Option A is correct because without an IAM role with the proper permissions, the EC2 instance cannot send messages to Amazon SQS. Option C is also correct as the absence of an interface VPC endpoint for Amazon SQS means that the EC2 instance cannot directly access the SQS service in a private subnet. The other options do not apply because the default security group and network ACL do not block the necessary traffic by default.