How do public and private subnets differ in AWS VPC?
Public subnets provide direct internet access through an Internet Gateway, while private subnets isolate resources from direct internet access and use NAT Gateway for outbound connectivity when needed.