AWS Certified Data Engineer – Associate (DEA-C01) — Question 194
A company has an application that uses an Amazon API Gateway REST API and an AWS Lambda function to retrieve data from an Amazon DynamoDB instance. Users recently reported intermittent high latency in the application's response times. A data engineer finds that the Lambda function experiences frequent throttling when the company's other Lambda functions experience increased invocations.
The company wants to ensure the API's Lambda function operate without being affected by other Lambda functions.
Which solution will meet this requirement MOST cost-effectively?
Answer options
- A. Increase the number of read capacity unit (RCU) in DynamoDB.
- B. Configure provisioned concurrency for the Lambda function.
- C. Configure reserved concurrency for the Lambda function.
- D. Increase the Lambda function timeout and allocated memory.
Correct answer: C
Explanation
The correct answer is C, as configuring reserved concurrency allows you to set a specific number of concurrent executions for the Lambda function, ensuring it is not throttled by other functions. Option A does not address the throttling issue, option B is not as cost-effective as reserved concurrency for this specific problem, and option D may not resolve the throttling issue effectively.