Topic 1 Question 51
2 つ選択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?
The EC2 instance is not attached to an IAM role that allows write operations to Amazon SQS.
The security group is blocking traffic to the IP address range used by Amazon SQS
There is no interface VPC endpoint configured for Amazon SQS
The network ACL is blocking return traffic from Amazon SQS
There is no route configured in the subnet route table for the IP address range used by Amazon SQS
ユーザの投票
コメント(7)
It is A) and C)
A - EC2 requires IAM role that allows write operations to Amazon SQS C - Being in private subnet, interface endpoint is required to access SQS
👍 10study_aws12023/03/22switching to A and C.
👍 4devopsbro2023/03/24- 正解だと思う選択肢: AC
A and C are correct. C - VPC has no public subnet , therefore VPC interface endpoint is needed to get to SQS A- IAM roles are also needed for write operations
B- Incorrect , default SG allows 0.0.0.0/0 on any port for outbound traffic from EC2 D- Incorrect, Network ACL allows 0.0.0.0/0 inbound by default E- Incorrect, Amazon SQS uses interface endpoint (privatelink), so no routes are needed in the routing table unlike Gateway Endpoints.
👍 4dremm2023/04/02
シャッフルモード