AWS Certified Developer – Associate (DVA-C02) — Question 499

A development team has an Amazon API Gateway REST API that is backed by an AWS Lambda function.

Users have reported performance issues for the Lambda function. The development team identified the source of the issues as a cold start of the Lambda function. The development team needs to reduce the time needed for the Lambda function to initialize.

Which solution will meet this requirement?

Answer options

Correct answer: D

Explanation

Provisioned concurrency pre-warms a specified number of execution environments, which directly eliminates cold start delays for those instances. Reserved concurrency only limits the maximum number of concurrent executions without pre-initializing them. Adjusting the memory allocation or execution timeout can optimize active runtimes but does not prevent the initial cold start latency.