Topic 1 Question 256
Application A runs on Amazon EC2 instances behind a Network Load Balancer (NLB). The EC2 instances are in an Auto Scaling group and are in the same subnet that is associated with the NLB. Other applications from an on-premises environment cannot communicate with Application A on port 8080.
To troubleshoot the issue, a SysOps administrator analyzes the flow logs. The flow logs include the following records:
What is the reason for the rejected traffic?
The security group of the EC2 instances has no Allow rule for the traffic from the NLB.
The security group of the NLB has no Allow rule for the traffic from the on-premises environment.
The ACL of the on-premises environment does not allow traffic to the AWS environment.
The network ACL that is associated with the subnet does not allow outbound traffic for the ephemeral port range.
ユーザの投票
コメント(6)
- 正解だと思う選択肢: D
I’ll go for D. Looks like that NACL allows inbound traffic from ephemeral port range, but doesn’t allow outbound.
👍 3csG132023/03/08 I go for D.
If your network ACL permits outbound ICMP traffic, the flow log displays two ACCEPT records (one for the originating ping and one for the response ping). If your security group denies inbound ICMP traffic, the flow log displays a single REJECT record, because the traffic was not permitted to reach your instance.
👍 3atseki2023/03/16- 正解だと思う選択肢: B
According to the flow log record shown in the picture, the traffic is rejected by the security group of the NLB, which means that the traffic is not reaching the EC2 instances. The source IP address in the flow log is from an on-premises environment, which indicates that the issue is related to the communication between the on-premises environment and the NLB.
Since the NLB is the entry point for the traffic to reach the EC2 instances, it is important to ensure that the security group of the NLB allows traffic from the on-premises environment. The security group rules should allow inbound traffic from the IP addresses or the CIDR blocks of the on-premises environment on the relevant port (8080 in this case).
👍 1Vivec2023/03/09
シャッフルモード