nerdexam
Amazon

ANS-C01 · Question #43

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…

The correct answer is A. The EC2 instance is not attached to an IAM role that allows write operations to Amazon SQS. C. There is no interface VPC endpoint configured for Amazon SQS. https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-basic- examples-of-iam-policies.html

Submitted by rohit_dlh· Mar 6, 2026

Question

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.)

Options

  • AThe EC2 instance is not attached to an IAM role that allows write operations to Amazon SQS.
  • BThe security group is blocking traffic to the IP address range used by Amazon SQS
  • CThere is no interface VPC endpoint configured for Amazon SQS
  • DThe network ACL is blocking return traffic from Amazon SQS
  • EThere is no route configured in the subnet route table for the IP address range used by Amazon

How the community answered

(44 responses)
  • A
    59% (26)
  • B
    7% (3)
  • D
    14% (6)
  • E
    20% (9)

Explanation

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-basic- examples-of-iam-policies.html

Topics

#IAM roles#VPC Interface Endpoints#SQS connectivity#Private subnet access

Community Discussion

No community discussion yet for this question.

Full ANS-C01 Practice