AWS - Security Groups and Network ACLsWhich 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>Check Answer
Step-by-Step SolutionSolution:Step 1: Identify the correct protocol and port for HTTPHTTP uses TCP protocol on port 80.Step 2: Confirm the direction and sourceInbound rules control incoming traffic; source 0.0.0.0/0 means from anywhere.Final Answer:Inbound: TCP port 80 from 0.0.0.0/0 -> Option DQuick Check:HTTP inbound = TCP 80 inbound [OK]Quick Trick: Inbound TCP 80 for HTTP, outbound not needed [OK]Common Mistakes:MISTAKESUsing UDP instead of TCP for HTTPSetting outbound instead of inbound ruleUsing port 22 which is for SSH
Master "Security Groups and Network ACLs" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Account and Billing - Billing dashboard overview - Quiz 14medium AWS Account and Billing - AWS Cost Explorer basics - Quiz 6medium Cloud Computing Fundamentals - What is cloud computing - Quiz 9hard Cloud Computing Fundamentals - Cloud deployment models (public, private, hybrid) - Quiz 1easy Cloud Computing Fundamentals - What is cloud computing - Quiz 12easy EC2 Fundamentals - Instance types and families - Quiz 10hard EC2 Fundamentals - Amazon Machine Images (AMIs) - Quiz 4medium Identity and Access Management - IAM best practices - Quiz 4medium Identity and Access Management - IAM roles concept - Quiz 14medium VPC Fundamentals - Internet Gateway for public access - Quiz 14medium