D1: Lambda Access to VPC Resources
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
How does Lambda access private VPC resources?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Lambda Access to VPC Resources practice questions and answers
- How does Lambda access private VPC resources?Configure VPC subnets and security groups; Lambda creates Hyperplane ENIs.
- Lambda in VPC needs internet. How?Place in private subnets with route to a NAT gateway (public subnets don't give internet).
- Lambda in VPC needs DynamoDB/S3 access without NAT. How?Use VPC gateway endpoints (or interface endpoints for other services).
- Required IAM permission for VPC Lambda?Execution role needs ENI permissions (AWSLambdaVPCAccessExecutionRole).
- Lambda can't connect to RDS. Common cause?Security group of RDS doesn't allow Lambda's security group on DB port.
- Lambda + RDS connection exhaustion fix?RDS Proxy and reuse connections outside handler.
- Does VPC config add big cold start now?No, Hyperplane ENIs created at configuration time minimize it.
- Lambda accessing Secrets Manager from private subnet?Interface VPC endpoint for Secrets Manager or NAT.
- Can Lambda access resources in peered VPC?Yes, if routing and security groups allow.
- Scenario: Lambda must call external API and private Aurora. Network setup?Private subnets with NAT gateway route + SG access to Aurora.