Interview practice question
Lambda in VPC can't reach the internet
Data Engineering · AWS Lambda · Intermediate
After putting a Lambda in a VPC to access a database, it can no longer call an external API or S3. Why?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Lambda in a VPC has no public IP.
- Internet access requires private subnets with a NAT gateway.
- AWS services can be reached via VPC endpoints instead.
- Check route tables and security groups.
- Balance NAT costs with endpoints.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.