Bird
0
0

Which of the following is the correct way to allow inbound HTTP traffic on port 80 in a security group?

easy📝 Configuration Q12 of 15
AWS - Security Groups and Network ACLs
Which of the following is the correct way to allow inbound HTTP traffic on port 80 in a security group?
A<code>Inbound: TCP port 22 from 0.0.0.0/0</code>
B<code>Outbound: TCP port 80 from 0.0.0.0/0</code>
C<code>Inbound: UDP port 80 from 0.0.0.0/0</code>
D<code>Inbound: TCP port 80 from 0.0.0.0/0</code>
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct protocol and port for HTTP

    HTTP uses TCP protocol on port 80.
  2. Step 2: Confirm the direction and source

    Inbound rules control incoming traffic; source 0.0.0.0/0 means from anywhere.
  3. Final Answer:

    Inbound: TCP port 80 from 0.0.0.0/0 -> Option D
  4. Quick Check:

    HTTP inbound = TCP 80 inbound [OK]
Quick Trick: Inbound TCP 80 for HTTP, outbound not needed [OK]
Common Mistakes:
MISTAKES
  • Using UDP instead of TCP for HTTP
  • Setting outbound instead of inbound rule
  • Using port 22 which is for SSH

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes