InterviewStack.io LogoInterviewStack.io

Networking, VPC, and Connectivity Questions

Deep understanding of AWS VPC architecture including subnets (public and private), route tables, Network Address Translation (NAT), internet gateways, and VPC endpoints. Knowledge of security groups and network ACLs. Understanding of VPN and AWS Direct Connect for hybrid connectivity. DNS and Route 53 routing policies.

MediumTechnical
24 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.
EasyTechnical
21 practiced
Explain AWS VPC endpoints and the differences between Interface Endpoints (PrivateLink) and Gateway Endpoints. Provide concrete examples: how would you grant private access to S3 and to a private API in your VPC without exposing traffic to the public internet?
MediumTechnical
23 practiced
Explain how Route 53 Private Hosted Zones enable split-horizon DNS for hybrid applications. Describe cross-account private hosted zone sharing, conditional forwarding to on-prem DNS via Route 53 Resolver rules, resolving internal names from Lambda/EKS, and common pitfalls such as overlapping domain names.
MediumTechnical
21 practiced
A customer requires that S3 buckets only be accessed from within their VPC via VPC Gateway Endpoints (no public internet access). Explain how you would configure the VPC endpoint and S3 bucket policies to enforce this, describe pitfalls such as cross-account access and console access, and state how you would verify enforcement. Provide policy-level guidance (no code required).
MediumSystem Design
20 practiced
Design a secure and scalable multi-account network architecture for 50 AWS accounts where shared services (logging, firewall, audit) are centralized. Explain how you would use AWS Transit Gateway (or alternatives) for hub-and-spoke connectivity, segmentation via route tables, enforce security controls, and onboard new accounts quickly and safely.

Unlock Full Question Bank

Get access to hundreds of Networking, VPC, and Connectivity interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.