Bird
0
0

Given a security group with these inbound rules:

medium📝 Predict Output Q13 of 15
AWS - Security Groups and Network ACLs
Given a security group with these inbound rules:
- Allow TCP port 22 from 0.0.0.0/0
- Allow TCP port 80 from 192.168.1.0/24

Which IP address can access port 80?
A10.0.0.5
B0.0.0.0
C192.168.1.15
D172.16.0.1
Step-by-Step Solution
Solution:
  1. Step 1: Understand the CIDR block for port 80

    The rule allows TCP port 80 only from IPs in 192.168.1.0/24 range, which means 192.168.1.0 to 192.168.1.255.
  2. Step 2: Check which IP fits the range

    192.168.1.15 is inside the allowed range, others are not.
  3. Final Answer:

    192.168.1.15 -> Option C
  4. Quick Check:

    192.168.1.0/24 includes 192.168.1.15 [OK]
Quick Trick: Check if IP fits CIDR range for allowed port [OK]
Common Mistakes:
  • Confusing 0.0.0.0/0 with specific ranges
  • Assuming all IPs can access port 80
  • Mixing up port 22 and port 80 rules

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes