Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Cloud
Cloudmedium

Public vs private subnet: what’s the difference and why use a NAT?

Tags
#cloud#networking#subnet#nat
Back to categoryPractice quiz

Answer

Public subnets can route to the internet (via an Internet Gateway). Private subnets have no direct inbound internet access. A NAT gateway lets instances in private subnets initiate outbound connections (e.g., to fetch updates) without being publicly reachable.

Related questions

Cloud
On‑demand vs reserved vs spot instances: what are the trade‑offs?
#cloud#pricing#on-demand
Cloud
Observability: how do metrics, logs, and traces differ?
#cloud#observability#metrics
Cloud
RTO vs RPO: what do these disaster‑recovery metrics mean?
#cloud#disaster-recovery#rto
Cloud
Stateless vs stateful services in the cloud: why does it matter?
#cloud#stateless#stateful
Cloud
Horizontal vs vertical scaling: what’s the difference?
#cloud#scaling#horizontal
Cloud
Blue/green vs canary deployments: what’s the difference?
#cloud#deployment#blue-green