A SysOps administrator launched an EC2 instance in a private subnet. From that instance, curl https://www.example.com fails to connect. What should the administrator do to restore outbound HTTPS connectivity from the instance?
Choose an answer
Tap an option to check your answer.
Correct answer: Ensure the instance's security group has an outbound rule allowing TCP port 443 to 0.0.0.0/0..
Why this is the answer
For an EC2 instance to initiate an outbound HTTPS connection to the internet (like https://www.example.com), its security group must explicitly allow outbound traffic on TCP port 443. Security groups are stateful, meaning a response to an allowed outbound connection is automatically permitted inbound. The destination 0.0.0.0/0 represents all IP addresses, necessary for connecting to external websites. Incorrect options: Inbound rules on a security group control incoming traffic, not outgoing. While Network ACLs (NACLs) are stateless and require rules for both directions, the primary issue for an instance-initiated connection is usually the security group. Furthermore, the ephemeral port range is for inbound responses to outbound connections, not the initial outbound request itself. TCP port 80 is for HTTP, not HTTPS. The problem explicitly states https://www.example.com, which uses port 443.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed