Bird
0
0

What is the most likely cause?

medium📝 Debug Q6 of 15
AWS - Security Groups and Network ACLs
A security group rule intended to allow HTTP traffic is written as: {"IpProtocol": "tcp", "FromPort": 80, "ToPort": 80, "IpRanges": [{"CidrIp": "0.0.0.0/0"}]}. However, HTTP traffic is still blocked. What is the most likely cause?
AThe protocol should be UDP instead of TCP
BThe CIDR block 0.0.0.0/0 is invalid
CThe port range is incorrect for HTTP
DThe security group is not attached to the resource
Step-by-Step Solution
Solution:
  1. Step 1: Verify rule correctness

    The rule correctly allows TCP port 80 from anywhere.
  2. Step 2: Check resource association

    If the security group is not attached to the resource, rules have no effect.
  3. Final Answer:

    The security group is not attached to the resource -> Option D
  4. Quick Check:

    Correct rule but no attachment = no effect [OK]
Quick Trick: Security group must be attached to resource to work [OK]
Common Mistakes:
  • Changing protocol to UDP incorrectly
  • Assuming port 80 is wrong
  • Thinking 0.0.0.0/0 is invalid

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes