Bird
0
0

Given a security group with an outbound rule allowing TCP traffic on port 443 to 0.0.0.0/0, what happens when an instance tries to connect to an HTTPS website?

medium📝 Predict Output Q4 of 15
AWS - Security Groups and Network ACLs
Given a security group with an outbound rule allowing TCP traffic on port 443 to 0.0.0.0/0, what happens when an instance tries to connect to an HTTPS website?
AThe connection is allowed and HTTPS traffic flows out
BThe connection is blocked because inbound rules are missing
CThe connection is blocked because port 443 is not allowed inbound
DThe connection is allowed only if the source IP is in the inbound rules
Step-by-Step Solution
Solution:
  1. Step 1: Understand outbound rule effect

    Outbound rule allowing TCP port 443 to 0.0.0.0/0 permits HTTPS traffic to leave the instance.
  2. Step 2: Confirm inbound rules for response

    Inbound rules do not block response traffic for established connections by default.
  3. Final Answer:

    The connection is allowed and HTTPS traffic flows out -> Option A
  4. Quick Check:

    Outbound TCP 443 allows HTTPS out [OK]
Quick Trick: Outbound rules control outgoing HTTPS traffic [OK]
Common Mistakes:
MISTAKES
  • Confusing inbound with outbound rules
  • Assuming inbound needed for outgoing connections

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes