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?
- A. Configure the Lambda function to run on Amazon EC2 burstable instance types.
- B. Configure the Lambda function to run on Amazon EC2 instance types recommended for high-performance computing (HPC) workloads.
- C. Configure the Lambda function to run with a higher reserved concurrency value.
- D. Configure the Lambda function to run with a higher memory value. ✓
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.