0
0
AWScloud~5 mins

Public vs private subnets in AWS - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is a public subnet in AWS?
A public subnet is a subnet that has a route to the internet through an internet gateway. Resources in this subnet can communicate directly with the internet.
Click to reveal answer
beginner
What is a private subnet in AWS?
A private subnet is a subnet that does not have a direct route to the internet. Resources here cannot be accessed directly from the internet but can access the internet through a NAT device.
Click to reveal answer
intermediate
Why use private subnets instead of public subnets?
Private subnets increase security by keeping sensitive resources away from direct internet access, reducing exposure to attacks.
Click to reveal answer
intermediate
How does a NAT gateway help private subnets?
A NAT gateway allows resources in private subnets to access the internet for updates or downloads without exposing them to inbound internet traffic.
Click to reveal answer
beginner
What AWS component enables internet access for a public subnet?
An Internet Gateway attached to the VPC enables internet access for public subnets by routing traffic between the subnet and the internet.
Click to reveal answer
Which AWS subnet type has a direct route to the internet?
AVPN subnet
BPrivate subnet
CIsolated subnet
DPublic subnet
What device allows private subnet resources to access the internet safely?
ANAT Gateway
BLoad Balancer
CVPN Gateway
DInternet Gateway
Which subnet type is best for hosting a public web server?
APrivate subnet
BIsolated subnet
CPublic subnet
DBackend subnet
What is a key security benefit of private subnets?
ANo inbound internet traffic
BNo internet access at all
CDirect internet access
DAutomatic backups
Which AWS component must be attached to a VPC to enable public subnet internet access?
ANAT Gateway
BInternet Gateway
CVirtual Private Gateway
DTransit Gateway
Explain the difference between a public subnet and a private subnet in AWS.
Think about how resources connect to the internet and security.
You got /4 concepts.
    Describe how a NAT gateway works with private subnets to allow internet access.
    Focus on the path outbound traffic takes from private subnet.
    You got /4 concepts.