Interview Prep/Networking/VPC & Cloud Network Design

A security team wants to isolate databases so no instance can reach the internet at all. How?

IntermediateScenarioVPC & Cloud Network Design
Answer

Situation read → Combine routing with security controls.

What I'd do →

  1. Place databases in subnets whose route table has only the local route
  2. Remove any NAT or IGW route and use VPC endpoints only for needed services
  3. Restrict security groups to inbound from the app tier SG ID only and limit outbound
  4. Add an SCP or config rule that flags public subnets with data tier tags

Why → Without a route, no packet can leave, regardless of what a security group says.

Interview tip → Say this is defense in depth: route, SG, NACL and IAM each independently block.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Cloud Network Design