🔥 3-day streak
AWS Certified Developer - Associate103 / 150
Question 103 of 150

A data-processing Lambda function is configured with 128 MB of memory. It is CPU-bound and currently runs for about 8 seconds per invocation. The team wants to reduce both execution time and overall cost. After using AWS Lambda Power Tuning to test several memory settings, they find that at 1024 MB the function completes in about 1 second, and the total invocation cost is lower than at 128 MB. What is the primary reason increasing memory reduced both latency and cost in this case?

Reviewed for accuracy · Report an issueNext question