Bird
0
0

Consider a NACL with the following rules:

medium📝 Predict Output Q13 of 15
AWS - Security Groups and Network ACLs
Consider a NACL with the following rules:
Inbound Rule 100: ALLOW TCP port 80
Outbound Rule 100: DENY all traffic
What will happen when an instance in the subnet tries to send a response to an HTTP request?
AThe response will be allowed because inbound is allowed
BThe response will be allowed because NACLs are stateful
CThe response will be blocked because outbound is denied
DThe response will be blocked because inbound denies it
Step-by-Step Solution
Solution:
  1. Step 1: Analyze inbound rule

    Inbound HTTP traffic on port 80 is allowed, so requests can reach the instance.
  2. Step 2: Analyze outbound rule

    Outbound rule denies all traffic, so responses from the instance are blocked.
  3. Final Answer:

    The response will be blocked because outbound is denied -> Option C
  4. Quick Check:

    Outbound DENY blocks response despite inbound ALLOW = B [OK]
Quick Trick: Both inbound and outbound must allow traffic for two-way flow [OK]
Common Mistakes:
MISTAKES
  • Assuming NACLs are stateful and allow return traffic automatically
  • Ignoring outbound rules when troubleshooting
  • Confusing inbound and outbound directions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes