Bird
0
0

What is the main difference between a public subnet and a private subnet in AWS?

easy📝 Conceptual Q1 of 15
AWS - VPC Fundamentals
What is the main difference between a public subnet and a private subnet in AWS?
AA public subnet has a route to an internet gateway, a private subnet does not.
BA private subnet has a route to an internet gateway, a public subnet does not.
CBoth subnets have direct internet access by default.
DPublic subnets are only used for databases, private subnets for web servers.
Step-by-Step Solution
Solution:
  1. Step 1: Understand subnet routing

    A public subnet must have a route to the internet gateway (IGW) to allow internet access.
  2. Step 2: Compare public and private subnet routes

    Private subnets do not have a direct route to the IGW, so they cannot access the internet directly.
  3. Final Answer:

    A public subnet has a route to an internet gateway, a private subnet does not. -> Option A
  4. Quick Check:

    Subnet routing = public subnet has IGW route [OK]
Quick Trick: Public subnet = route to internet gateway [OK]
Common Mistakes:
  • Confusing which subnet has internet access
  • Assuming private subnets have direct internet routes
  • Thinking both subnets behave the same

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes