Q45 — AWS DVA-C02 Ch.1

Question 45 of 100 | ← Chapter 1

A research company has a web application that runs once daily, performing scientific computations based on user-submitted web form inputs. The computations are CPU-intensive. An AWS Lambda function executes the computation daily. Due to Lambda function timeouts, users occasionally receive errors. Which change would most effectively reduce the Lambda function’s execution time?

Correct Answer: D. Configure the Lambda function to run with a higher memory value.

Explanation

Memory allocation determines the amount of virtual CPU available to a Lambda function. Increasing memory proportionally increases CPU allocation, thereby improving overall compute capacity.