Lambda Flashcards

1
Q

Lambda natively supports how many runtime languages?

A

7

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Lambda?

What are its 3 features?

A

It’s a compute service that lets you run code without provisioning or managing servers

  • 7 Languages (NodeJS, Python, Go…)
  • Limits (Free requests, time-out, memory)
  • X-ray daemon by default
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Lambda?

What are its 7 key features?

A

It’s a compute service that lets you run code without provisioning or managing servers

  • Things about lambda (Cheap, Serverless, Scales)
  • 7 Languages (NodeJS, Python, Go…)
  • Pay for invocation (Duration and memory)
  • Custom runtime environments
  • No VPC
  • Limits (Free requests, time-out, memory)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 2 ways you can trigger a lambda?

A
  • SDK

- AWS Services (API Gateway, ALB, CloudFront…)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the maximum time-out period you can set for a lambda?

A

15 minutes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

By default how many Lambdas can you run concurrently?

A

1.000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The maximum possible memory you can allocate a Lambda

A

128MB to a Maximum of 3008MB

at an increment of 64MB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The initial run of a Lambda which is delayed due to server startup is called what

A

Cold Start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This Lambda feature lets you give specific function versions a friendlier name for when you are accessing them programmatically

A

Lambda Aliases

ˈlæmdə ˈeɪliəsɪz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the size limit (unzipped) for layer deployment packages in Lambda?

A

250MB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which type of file do you use to create a lambda layer?

A

Zip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How many Lambda layers can you have attached to a function?

A

5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

This Lambda feature allows you to upload a zip file with custom libraries, runtimes, or other dependencies and use them with multiple Lambda functions.

A

Lambda Layers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In Lambda, if your function is not generating Logs on Cloud Watch is due to…

A

The execution role for the Lambda function is missing permissions to write log data to the CloudWatch Logs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly