How does AWS charge for AWS Lambda?
A . Users bid on the maximum price they are willing to pay per hour.
B . Users choose a 1-, 3- or 5-year upfront payment term.
C . Users pay for the required permanent storage on a file system or in a database.
D . Users pay based on the number of requests and consumed compute resources.
Answer: D
Explanation:
AWS Lambda is charging its users by the number of requests for their functions and by the duration, which is the time the code needs to execute. When code starts running in response to an event, AWS Lambda counts a request. It will charge the total number of requests across all of the functions used. Duration is calculated by the time when your code started executing until it returns or until it is terminated, rounded up near to 100ms. The AWS Lambda pricing depends on the amount of memory that the user used to allocate to the function.
Reference: https://dashbird.io/blog/aws-lambda-pricing-model-explained/
Leave a Reply