Skip to main content
CloudCertPrep
DVA-C02Domain 4: Troubleshooting and OptimizationDebugging & OptimizationmediumSingle choice

A latency-sensitive Lambda function occasionally responds slowly on the first invocation after idle periods. Which fix directly eliminates cold-start latency?

A.Increase memory allocation

Memory can reduce init duration — but the cold start still happens.

B.Provisioned concurrency — keeps execution environments initialized and warm

Correct. Warm environments = no init latency for provisioned capacity.

C.Move the function to a larger timeout

Timeout is a ceiling, not a speed control.

D.Switch to a standard SQS trigger

Trigger type doesn't remove init time.

Why this answer

Provisioned concurrency pre-initializes a set number of environments — eliminating cold starts for those instances (at continuous cost). More memory speeds INIT somewhat but doesn't remove it; SnapStart helps Java specifically.

Correct answer: B · Last reviewed 2026-10-27

Official AWS references

Practice this interactively

Answer without seeing the solution first in the Debugging & Optimization practice session.

Practice Debugging & Optimization