Medium1 markMultiple Choice
Domain 3.2: Compute PerformancePerformanceLambdaCompute

AWS SAA-C03 · Question 44 · Domain 3.2: Compute Performance

An application uses AWS Lambda to process images uploaded to S3. During peak times, users report that image processing takes several seconds longer than usual. CloudWatch metrics show that the Lambda function execution time is increasing. How can a solutions architect improve the performance of the Lambda function?

Answer options:

A.

Increase the CPU allocation for the Lambda function.

B.

Increase the memory allocated to the Lambda function.

C.

Deploy the Lambda function in a Cluster Placement Group.

D.

Increase the timeout setting of the Lambda function.

How to approach this question

Understand how Lambda scaling works. You only configure memory, and AWS allocates CPU proportionally.

Full Answer

B.Increase the memory allocated to the Lambda function.✓ Correct
Increase the memory allocated to the Lambda function.
AWS Lambda allocates CPU power linearly in proportion to the amount of memory configured. To improve compute performance, you must increase the memory.

Common mistakes

Looking for a 'CPU' setting in Lambda, which does not exist.

Practice the full AWS SAA-C03 Practice Exam 7

65 questions · hints · full answers · grading

More questions from this exam