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

A company has an application that uses an Amazon API Gateway API to invoke an AWS Lambda function. The application is latency sensitive.

A developer needs to configure the Lambda function to reduce the cold start time that is associated with default scaling.

What should the developer do to meet these requirements?

Answer options

Correct answer: A

Explanation

Provisioned concurrency pre-warms execution environments for a specified version or alias of a Lambda function, which directly addresses and eliminates cold start latency. While adjusting reserved concurrency or requesting Service Quotas limits can manage scaling behavior and prevent throttling, they do not pre-initialize instances to mitigate cold starts. Increasing memory can reduce execution time but does not guarantee the elimination of cold starts like provisioned concurrency does.