
Answer-first summary for fast verification
Answer: Deploy the function with its memory allocation set to the maximum amount
Deploy the function with its memory allocation set to the maximum amount - Lambda allocates CPU power in proportion to the amount of memory configured. Memory is the amount of memory available to your Lambda function at runtime. You can increase or decrease the memory and CPU power allocated to your function using the Memory (MB) setting. To configure the memory for your function, set a value between 128 MB and 10,240 MB in 1-MB increments. At 1,769 MB, a function has the equivalent of one vCPU (one vCPU-second of credits per second).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A development team is planning to deploy an AWS Lambda function that will require substantial CPU usage. They aim to minimize the function's average runtime to enhance performance and efficiency.
As an AWS Certified Developer Associate, which of the following recommendations would you provide to achieve a reduction in the function's average runtime?
A
Deploy the function using Lambda layers
B
Deploy the function with its CPU allocation set to the maximum amount
C
Deploy the function into multiple AWS Regions
D
Deploy the function with its memory allocation set to the maximum amount