Practice free →
HomeAWS Developer Associatecloudcomputingawsdevelopment › Which Lambda configuration setting most directly…

Which Lambda configuration setting most directly affects the function's CPU and network performance, not just the memory ceiling?

AFunction timeout in seconds
BThe runtime version (Node 22 vs Node 20)
CMemory allocation (MB) — Lambda allocates CPU and network proportionally to configured memory
DWhether layers are attached
Answer & Solution
Correct answer: C. Memory allocation (MB) — Lambda allocates CPU and network proportionally to configured memory
Lambda's memory setting also scales CPU and network — this is why "increase memory to get more CPU" is a classic tuning move. Timeout caps how long a single invocation may run; layers are deps; runtime affects language semantics but not the CPU/RAM ratio.
Solve this in the app — AWS Developer Associate practice & 24k+ MCQs →
Related questions