nerdexam
Amazon

SOA-C03 · Question #35

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…

The correct answer is D. The network ACL that is associated with the subnet does not allow outbound traffic for the. VPC Flow Logs show the request arriving and being ACCEPTed on dstport 8080 and the corresponding response being REJECTed on the return path to the client's ephemeral port (59003). AWS networking guidance states that security groups are stateful (return traffic is automatically…

Submitted by ashley.k· Mar 5, 2026Networking

Question

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 CloudOps engineer analyzes the flow logs. The flow logs include the following records:

ACCEPT from 192.168.0.13:59003 172.31.16.139:8080 REJECT from 172.31.16.139:8080 192.168.0.13:59003 What is the reason for the rejected traffic?

Options

  • AThe security group of the EC2 instances has no Allow rule for the traffic from the NLB.
  • BThe security group of the NLB has no Allow rule for the traffic from the on-premises environment.
  • CThe ACL of the on-premises environment does not allow traffic to the AWS environment.
  • DThe network ACL that is associated with the subnet does not allow outbound traffic for the

How the community answered

(40 responses)
  • A
    15% (6)
  • B
    5% (2)
  • C
    10% (4)
  • D
    70% (28)

Explanation

VPC Flow Logs show the request arriving and being ACCEPTed on dstport 8080 and the corresponding response being REJECTed on the return path to the client's ephemeral port (59003). AWS networking guidance states that security groups are stateful (return traffic is automatically allowed) while network ACLs are stateless and require explicit inbound and outbound rules for both directions. CloudOps operational guidance for VPC networking further notes that when you allow an inbound request (for example, TCP 8080) through a subnet's network ACL, you must also allow the outbound ephemeral port range (typically 1024?5535) for the response traffic; otherwise, the return packets are dropped and appear as REJECT in flow logs. The observed pattern--request accepted to 8080, response rejected to 59003--matches a missing outbound ephemeral-range allow on the subnet's NACL. Therefore, the cause is the subnet NACL, not security groups or on-premises ACLs. The remediation is to add an outbound ALLOW rule on the NACL for the appropriate ephemeral TCP port range back to the on-premises CIDR (and the corresponding inbound rule if asymmetric).

Topics

#VPC flow logs#network ACL outbound#NLB troubleshooting#ACCEPT REJECT records

Community Discussion

No community discussion yet for this question.

Full SOA-C03 Practice