AWS Certified Developer - Associate

AWS Certified Developer - Associate

Get started today

Ultimate access to all questions.


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?




Explanation:

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).