Medium1 markMultiple Choice
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?
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
Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team needs...MediumQ02An application runs on Amazon EC2 instances and needs to access an Amazon S3 bucket. What is the ...EasyQ03A company wants to implement federated access to the AWS Management Console for its employees usi...MediumQ04A company is building a mobile application that requires users to sign in using their social medi...EasyQ05A security team wants to enforce MFA for all IAM users before they can terminate EC2 instances. H...Medium
Expert