nerdexam
Amazon

DVA-C02 · Question #719

A developer is building an application that uses an AWS Lambda function. The function performs CPU-intensive tasks. Users are experiencing slow performance. The developer wants to improve the…

The correct answer is B. Increase the memory allocation. Increasing the Lambda function’s memory allocation also increases the allocated CPU power proportionally, improving performance for CPU-intensive tasks. This does not increase costs when the function is idle, unlike provisioned concurrency.

Submitted by viktor_hu· Mar 5, 2026Troubleshooting and Optimization

Question

A developer is building an application that uses an AWS Lambda function. The function performs CPU-intensive tasks. Users are experiencing slow performance. The developer wants to improve the performance of the Lambda function. The solution must not increase costs when the function is not running. Which solution will meet these requirements?

Options

  • AIncrease the function timeout.
  • BIncrease the memory allocation.
  • CUse provisioned concurrency.
  • DUse reserved concurrency.

How the community answered

(24 responses)
  • A
    17% (4)
  • B
    75% (18)
  • C
    4% (1)
  • D
    4% (1)

Explanation

Increasing the Lambda function’s memory allocation also increases the allocated CPU power proportionally, improving performance for CPU-intensive tasks. This does not increase costs when the function is idle, unlike provisioned concurrency.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice