AWS SysOps Admin SOA-C02 · Networking and Content Delivery · hard

An application server in a VPC subnet (10.0.1.0/24) cannot download OS packages via HTTPS (TCP 443) from an external repository on the internet. The SysOps administrator verifies that: (1) the instance's Security Group allows outbound TCP 443 to 0.0.0.0/0, (2) the subnet's custom Network ACL (NACL) has an Outbound rule allowing TCP 443 to 0.0.0.0/0, and (3) the Inbound NACL rules allow only TCP 443 from 0.0.0.0/0 with a final Deny All (*) rule. Why is the HTTPS download still failing?

Published · Last updated · checked before publication — how we verify questions

Options

  • ANACLs are stateless and drop return packets unless Inbound allows ephemeral ports 1024–65535Correct answer
  • BSecurity Groups are stateless and require an explicit Inbound TCP 443 rule from 0.0.0.0/0 always
  • CHTTPS connections require opening UDP port 161 (SNMP) on the NACL
  • DA VPC can have at most one Network ACL rule per protocol across all Availability Zones

Answer: A. NACLs are stateless and drop return packets unless Inbound allows ephemeral ports 1024–65535

Unlike Security Groups (which are stateful), Network ACLs (NACLs) are stateless. When the EC2 instance initiates an outbound HTTPS connection to remote destination port TCP 443, the return response packets from the internet server arrive back at the client's ephemeral source port (TCP 1024–65535), NOT destination port 443! Because the Inbound NACL only allows TCP 443, all return traffic on ephemeral ports 1024–65535 is dropped.

Why the other options are wrong

  • B. Security Groups are stateless and require an explicit Inbound TCP 443 rule from 0.0.0.0/0 always — Security Groups are stateful and automatically allow return traffic for outbound-initiated connections.
  • C. HTTPS connections require opening UDP port 161 (SNMP) on the NACL — HTTPS uses TCP port 443 (and ephemeral return ports), not UDP 161.
  • D. A VPC can have at most one Network ACL rule per protocol across all Availability Zones — A NACL supports 20 rules by default (up to 40) per direction.

All Networking and Content Delivery questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.