Bird
0
0

What is the effective inbound rule for port 8080?

hard📝 Application Q9 of 15
AWS - Security Groups and Network ACLs
An instance has two security groups attached: SG1 allows inbound TCP port 8080 from anywhere, SG2 allows inbound TCP port 8080 only from a specific IP. What is the effective inbound rule for port 8080?
AInbound TCP port 8080 allowed only from the specific IP
BInbound TCP port 8080 allowed from anywhere
CInbound TCP port 8080 blocked because of conflicting rules
DInbound TCP port 8080 allowed only if both rules match
Step-by-Step Solution
Solution:
  1. Step 1: Understand multiple security groups behavior

    Rules from all attached security groups are combined with OR logic.
  2. Step 2: Apply to port 8080 rules

    Since SG1 allows from anywhere, that rule applies regardless of SG2.
  3. Final Answer:

    Inbound TCP port 8080 allowed from anywhere -> Option B
  4. Quick Check:

    Multiple SGs combine rules with OR = Inbound TCP port 8080 allowed from anywhere [OK]
Quick Trick: Multiple SGs combine rules with OR logic [OK]
Common Mistakes:
  • Thinking rules combine with AND logic
  • Assuming conflicting rules block traffic
  • Believing both rules must match simultaneously

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes