AWS Certified Solutions Architect – Associate (SAA-C02) — Question 394

A development team is deploying a new product on AWS and is using AWS Lambda as part of the deployment. The team allocates 512 MB of memory for one of the Lambda functions. With this memory allocation, the function is completed in 2 minutes. The function runs millions of times monthly, and the development team is concerned about cost. The team conducts tests to see how different Lambda memory allocations affect the cost of the function.
Which steps will reduce the Lambda costs for the product? (Choose two.)

Answer options

Correct answer: A, E

Explanation

Choosing option A is correct because increasing the memory to 1,024 MB could reduce execution time and thus lower costs. Option E is also valid as reducing memory to 256 MB, while ensuring execution time remains acceptable, can further cut costs. The other options either increase memory allocation without guarantee of cost reduction or do not meet optimal execution time criteria.