Lambda Flashcards
T or F
Lambda is a computer service where you can upload your code and create a Lambda function.
True
T or F
Lambda takes care of provisioning and managing servers that you use to run the code.
true
T or F
With Lambda, you don’t have to worry about operating systems, patching, scaling, etc. You cna use Lambda in the following ways.
True
T or F
As an event driven compute service where AWS Lambda runs your code in response to events. These events could be changes to data in an AWS bucket or an AZ dynamoDB table.
True
T or F
As a compute service to run your code in response to HTTP requests using API GW or API calls made using AWS SDKs.
True
What languages does Lambda use?
- nodejs
- java
- python
- C#
- Go
All of the above
Pricing
T or F
of requests
first 1 million requests are free.
$.20 per 1 million requests thereafter
Duration is calculated from the time your code begins executing until it returns or otherwise temrinates, rounded up to the nearest 100ms. The price depends on the amount of money you allocate to your function. You are charged .00001667 for every GB-second used.
True
Why Lambda?
- no servers
- continuous scaling
- super cheap
all of the above
T or F
Lambda scales up not out automatically.
False
Lambda scales out (not up) automatically
T or F
Lambda functions are independent, 1 event = 1 function
True
T or F
Lambda is serverless
True
T or F
Lambda functions cannot trigger other lambda functions
false.
Lambda functions can trigger other lambda functions, 1 event can = x functions if functions trigger other functions.
T or F
Lambda can do things globally. You can use it to back up S3 to other S3 buckets.
true
WHen you use _____ in Lambda, you can publish one or more versions of your Lambda function. AS a result, you can work with different variations of your Lambda function in your development workflow, such as development, beta, and prod. Each Lambda function version has a unique ARN. After you publish, it is immutable (can’t be changed)
versioning
AWS Lambda maintains your latest function code in the ______ version. When you update your function code, AWS Lambda replaces the code in teh ____ version of teh Lambda code.
$LATEST
$LATEST
You can refer to this function using its ______. There are 2 _____ associated with this internal version.
ARN and ARNs