AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company runs a serverless data processing application in the cloud. They observe that the execution time increases significantly when handling large datasets, causing performance issues. As a Solutions Architect, how can you optimize the application's performance?
Increase the memory allocated to the AWS Lambda functions.
Increase the timeout setting for the AWS Lambda functions.
Refactor the application code for better efficiency.
Implement AWS Step Functions to manage execution flow.
Allocating more memory to AWS Lambda functions not only increases available memory but also proportionally increases CPU and network throughput. This leads to faster execution times for compute-intensive tasks. Increasing the timeout setting does not improve performance; it merely allows the function to run longer without necessarily processing data faster. Refactoring the code may help improve efficiency but can be time-consuming and may not address the underlying resource limitations quickly. Implementing AWS Step Functions adds orchestration but does not enhance the performance of individual function executions.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are AWS Lambda functions and how do they work?
Open an interactive chat with Bash
How does memory allocation affect the performance of AWS Lambda functions?
Open an interactive chat with Bash
What are some best practices for optimizing serverless applications in AWS?