Amazon
DVA-C02 · Question #749
A software engineer developed an AWS Lambda function in Node.js to do some CPU-intensive data processing. With the default settings, the Lambda function takes about 5 minutes to complete. Which approa
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #749. The question stem and answer options stay visible for context.
Submitted by naveen.iyer· Mar 5, 2026Troubleshooting and Optimization
Question
A software engineer developed an AWS Lambda function in Node.js to do some CPU-intensive data processing. With the default settings, the Lambda function takes about 5 minutes to complete. Which approach should a developer take to increase the speed of completion?
Options
- AInstead of using Node.js, rewrite the Lambda function using Python.
- BInstead of packaging the libraries in the ZIP file with the function, move them to a Lambda layer
- CAllocate the maximum available CPU units to the function.
- DIncrease the available memory to the function.
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.