Medium1 markMultiple Choice
AWS SAA-C03 · Question 49 · Domain 4.2: Compute Cost Optimization
A company is designing a new application that will use AWS Lambda. The functions will be invoked millions of times per day. The solutions architect wants to optimize the cost of running these Lambda functions. <br/><br/>What is the MOST effective way to reduce Lambda costs?
A company is designing a new application that will use AWS Lambda. The functions will be invoked millions of times per day. The solutions architect wants to optimize the cost of running these Lambda functions. <br/><br/>What is the MOST effective way to reduce Lambda costs?
Answer options:
A.
Purchase Reserved Instances for AWS Lambda.
B.
Optimize the function code to execute faster and reduce the allocated memory if it is over-provisioned.
C.
Deploy the Lambda functions in a private VPC subnet.
D.
Increase the timeout setting of the Lambda functions.
How to approach this question
Understand how Lambda is billed: Requests + (Duration * Memory).
Full Answer
B.Optimize the function code to execute faster and reduce the allocated memory if it is over-provisioned.✓ Correct
Optimize the function code to execute faster and reduce the allocated memory if it is over-provisioned.
AWS Lambda is priced based on the number of requests and the compute time consumed. Compute time is calculated by multiplying the execution duration by the amount of memory allocated. Optimizing code to run faster and right-sizing memory are the primary ways to reduce costs.
Common mistakes
Thinking Reserved Instances apply to Lambda.
Practice the full AWS SAA-C03 Practice Exam 4
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...MediumQ02An application running on Amazon EC2 instances needs to access an Amazon DynamoDB table. Both res...EasyQ03A company is designing a web application that will be hosted on AWS. The application will use an ...MediumQ04A company is building a mobile app that requires users to authenticate using their social media a...HardQ05A solutions architect is designing a VPC for a three-tier web application. The database tier must...Medium
Expert