ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 575 - SAA-C03 discussion

Report
Export

A company uses high concurrency AWS Lambda functions to process a constantly increasing number of messages in a message queue during marketing events. The Lambda functions use CPU intensive code to process the messages. The company wants to reduce the compute costs and to maintain service latency for its customers.

Which solution will meet these requirements?

A.
Configure reserved concurrency for the Lambda functions. Decrease the memory allocated to the Lambda functions.
Answers
A.
Configure reserved concurrency for the Lambda functions. Decrease the memory allocated to the Lambda functions.
B.
Configure reserved concurrency for the Lambda functions. Increase the memory according to AWS Compute Optimizer recommendations.
Answers
B.
Configure reserved concurrency for the Lambda functions. Increase the memory according to AWS Compute Optimizer recommendations.
C.
Configure provisioned concurrency for the Lambda functions. Decrease the memory allocated to the Lambda functions.
Answers
C.
Configure provisioned concurrency for the Lambda functions. Decrease the memory allocated to the Lambda functions.
D.
Configure provisioned concurrency for the Lambda functions. Increase the memory according to AWS Compute Optimizer recommendations.
Answers
D.
Configure provisioned concurrency for the Lambda functions. Increase the memory according to AWS Compute Optimizer recommendations.
Suggested answer: D

Explanation:

The company wants to reduce the compute costs and maintain service latency for its Lambda functions that process a constantly increasing number of messages in a message queue. The Lambda functions use CPU intensive code to process the messages. To meet these requirements, a solutions architect should recommend the following solution:

Configure provisioned concurrency for the Lambda functions. Provisioned concurrency is the number of pre-initialized execution environments that are allocated to the Lambda functions. These execution environments are prepared to respond immediately to incoming function requests, reducing the cold start latency. Configuring provisioned concurrency also helps to avoid throttling errors due to reaching the concurrency limit of the Lambda service.

Increase the memory according to AWS Compute Optimizer recommendations. AWS Compute Optimizer is a service that provides recommendations for optimal AWS resource configurations based on your utilization data. By increasing the memory allocated to the Lambda functions, you can also increase the CPU power and improve the performance of your CPU intensive code. AWS Compute Optimizer can help you find the optimal memory size for your Lambda functions based on your workload characteristics and performance goals.

This solution will reduce the compute costs by avoiding unnecessary over-provisioning of memory and CPU resources, and maintain service latency by using provisioned concurrency and optimal memory size for the Lambda functions.

Provisioned Concurrency

AWS Compute Optimizer

asked 16/09/2024
Prashant Bari
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first