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

A company uses an AWS Lambda function to call a third-party service. The third-party service has a limit of requests each minute. If the number of requests exceeds the limit, the third-party service returns rate-limiting errors.

A developer needs to configure the Lambda function to avoid receiving rate limiting errors from the third-party service.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Setting the reserved concurrency on an AWS Lambda function restricts the maximum number of concurrent executions, effectively throttling the outbound request rate to match the third-party service's limits. In contrast, provisioned concurrency prepares execution environments ahead of time to reduce cold starts but does not cap concurrency, while adjusting memory or timeout settings does not regulate the rate of outgoing API calls.