Recall & Review
beginner
What are the two main factors that determine AWS Lambda pricing?
AWS Lambda pricing is mainly based on the number of requests and the duration of code execution measured in GB-seconds.
Click to reveal answer
beginner
How does AWS Lambda measure the duration for billing?
Duration is measured from the time your code begins executing until it returns or otherwise terminates, rounded up to the nearest 1 millisecond.
Click to reveal answer
intermediate
What is a GB-second in AWS Lambda pricing?
A GB-second is the amount of memory allocated to your function multiplied by the execution time in seconds. For example, 1 GB of memory running for 1 second equals 1 GB-second.
Click to reveal answer
beginner
Does AWS Lambda charge for idle time when your function is not running?
No, AWS Lambda only charges for the actual compute time your function runs, not for idle time.
Click to reveal answer
beginner
What is the AWS Lambda free tier offer?
AWS Lambda offers 1 million free requests and 400,000 GB-seconds of compute time per month at no charge.
Click to reveal answer
Which of the following does NOT affect AWS Lambda pricing?
✗ Incorrect
AWS Lambda pricing depends on requests, execution duration, and memory allocated, not on website user count.
How is the execution duration rounded for billing in AWS Lambda?
✗ Incorrect
AWS Lambda rounds execution duration up to the nearest 1 millisecond for billing.
What does 1 GB-second represent in AWS Lambda pricing?
✗ Incorrect
1 GB-second means your function used 1 GB of memory for 1 second of execution time.
What is included in the AWS Lambda free tier each month?
✗ Incorrect
The free tier includes 1 million requests and 400,000 GB-seconds of compute time monthly.
Does AWS Lambda charge for the time your function is waiting (idle) between executions?
✗ Incorrect
AWS Lambda charges only for the actual time your function runs, not for idle waiting time.
Explain how AWS Lambda pricing works including the main factors that affect cost.
Think about what AWS counts and charges you for when your function runs.
You got /5 concepts.
Describe what a GB-second means in the context of AWS Lambda and why it matters for pricing.
Consider how memory and time combine to form the billing metric.
You got /4 concepts.