Question
A developer has written an AWS Lambda function. The function is CPU-bound. The developer wants to ensure that the function returns responses quickly.
How can the developer improve the function's performance?
- A. Increase the function's CPU core count.
- B. Increase the function's memory. Correct
- C. Increase the function's reserved concurrency.
- D. Increase the function's timeout.
Explanation
According to AWS documentation, for CPU-bound Lambda functions, increasing the amount of memory allocated to the function also increases its CPU power proportionally. This allows the function to process tasks faster and return responses more quickly.