Practice free →
HomeAWS Developer Associatecloudcomputingawsdevtroubleshooting › A Lambda function in a VPC hits an external HTTP…

A Lambda function in a VPC hits an external HTTPS API. Cold starts now take 8+ seconds instead of 800ms. What is the most LIKELY cause?

AVPC-bound Lambdas attach an ENI on cold start; adding VPC integration without optimisation (e.g. shared ENIs / Hyperplane) increases cold-start time
BThe function ran out of disk space
CAll cold starts are 8 seconds and the previous figure was a measurement error
DCloudWatch Logs Insights is slow today
Answer & Solution
Correct answer: A. VPC-bound Lambdas attach an ENI on cold start; adding VPC integration without optimisation (e.g. shared ENIs / Hyperplane) increases cold-start time
VPC-bound Lambdas historically took seconds to set up an ENI per cold container; modern Lambda uses Hyperplane ENIs to amortise this but it's still measurably more than non-VPC. The other options are unrelated.
Solve this in the app — AWS Developer Associate practice & 24k+ MCQs →
Related questions