Medium1 markMultiple Choice
AWS SAA-C03 · Question 42 · Domain 3.2: Compute Performance
A developer has written an AWS Lambda function that processes images. The function currently takes 8 seconds to execute. The developer wants to improve the performance and reduce the execution time.<br/><br/>What is the simplest way to increase the CPU power allocated to the Lambda function?
A developer has written an AWS Lambda function that processes images. The function currently takes 8 seconds to execute. The developer wants to improve the performance and reduce the execution time.<br/><br/>What is the simplest way to increase the CPU power allocated to the Lambda function?
Answer options:
A.
Change the instance type of the underlying Lambda infrastructure.
B.
Increase the memory allocated to the Lambda function.
C.
Enable multi-threading in the Lambda function configuration.
D.
Increase the timeout setting of the Lambda function.
How to approach this question
Understand how resources are allocated in AWS Lambda.
Full Answer
B.Increase the memory allocated to the Lambda function.✓ Correct
AWS Lambda allocates CPU power linearly in proportion to the amount of memory configured. If you increase the memory, you also increase the CPU power and network bandwidth available to the function.
Common mistakes
Looking for a specific 'CPU' slider in the Lambda console.
Practice the full AWS SAA-C03 Practice Exam 6
65 questions · hints · full answers · grading
More questions from this exam
Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team wants...MediumQ02A company has two AWS accounts: Account A for development and Account B for production. Developer...MediumQ03A mobile application needs to authenticate users using their social media accounts (Facebook, Goo...EasyQ04A company is running an application on Amazon EC2 instances. The application needs to connect to ...MediumQ05A company has 50 AWS accounts managed by AWS Organizations. The IT team wants to implement a cent...Easy
Expert