0
0
AWScloud~5 mins

Creating a Lambda function in AWS - Quick Revision & Summary

Choose your learning style9 modes available
Recall & Review
beginner
What is AWS Lambda?
AWS Lambda is a service that lets you run code without managing servers. You just upload your code, and Lambda runs it when needed.
Click to reveal answer
beginner
What is a trigger in AWS Lambda?
A trigger is an event that starts your Lambda function, like a file upload or a web request.
Click to reveal answer
intermediate
Why do you need an execution role for a Lambda function?
The execution role gives your Lambda permission to access other AWS services it needs, like reading from a database.
Click to reveal answer
intermediate
What is the maximum duration a Lambda function can run?
A Lambda function can run up to 15 minutes before it times out.
Click to reveal answer
beginner
How do you update the code of an existing Lambda function?
You can update the code by uploading a new file or using the AWS Console editor, AWS CLI, or SDKs.
Click to reveal answer
What do you need to provide when creating a Lambda function?
AA virtual machine image
BCode and an execution role
CA database connection string
DA server to run the code
Which AWS service can trigger a Lambda function?
AAmazon EC2
BAWS IAM
CAWS CloudFormation
DAmazon S3
What is the maximum timeout for a Lambda function?
A5 minutes
B30 minutes
C15 minutes
D60 minutes
How do you give a Lambda function permission to access other AWS services?
ABy assigning an execution role
BBy adding a trigger
CBy uploading code
DBy setting environment variables
Which language can you NOT use to write Lambda functions?
ACOBOL
BJavaScript
CRuby
DPython
Explain the steps to create a Lambda function from scratch.
Think about what you need before the function can run and respond to events.
You got /5 concepts.
    Describe how Lambda functions handle scaling when many events happen at once.
    Imagine many friends calling you at the same time and you can talk to all of them separately.
    You got /4 concepts.