Cloud Networking and VPC Design Questions

Designing networks inside a cloud provider: VPC/VNet topology, subnets, route tables, gateways, NAT, and peering, plus private connectivity through VPC endpoints and cloud load balancers. Covers segmentation, security groups and network ACLs, hybrid connectivity to on-premises data centers over VPN or dedicated links like Direct Connect and ExpressRoute, IP address planning across many VPCs and accounts, and how cloud network design differs from traditional data-center networking.

MediumSystem Design
32 practiced

Design a VPC architecture for a three-tier web application expected to handle 1,000 requests per second, requiring high availability across 3 Availability Zones, private databases, public web tier, and secure admin access. Specify subnets, route tables, NAT placement, load balancing, bastion/jump hosts, and how you'd minimize blast radius while keeping operational simplicity.

HardSystem Design
24 practiced

You must design an IP address allocation plan for 200+ VPCs across 10 regions and multiple accounts so that VPC CIDR ranges never overlap and expansion is possible. Propose a CIDR allocation strategy, delegation model or IPAM approach, and automated guardrails to prevent collisions when teams provision new VPCs.

MediumTechnical
45 practiced

For workloads that access managed cloud services (S3, Storage Accounts, object stores), compare using service endpoints (VPC endpoints / PrivateLink), NAT gateways, and proxy appliances. Discuss trade-offs in security (private backbone vs internet egress), cost, performance, and operational complexity.

MediumTechnical
36 practiced

Design an outbound egress strategy for thousands of EC2 instances that will make a large number of simultaneous outbound connections creating high SNAT demand. Discuss NAT Gateway scaling limits, ephemeral port exhaustion, alternatives such as multiple NAT Gateways per AZ, proxying, autoscaling NAT instances, and monitoring approaches to detect and mitigate port exhaustion.

HardTechnical
35 practiced

Your organization needs low-latency private connectivity from on-prem to cloud with automatic failover to the internet. Design a hybrid connectivity solution using Direct Connect (or ExpressRoute/Cloud Interconnect) as primary and an IPsec VPN as backup. Address BGP configuration, route prioritization, MTU adjustments, redundancy for device and physical paths, testing failover, and cost tradeoffs.

Unlock Full Question Bank

Get access to all 45 Cloud Networking and VPC Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.