Lambda Flashcards

1
Q

What is Lambda?

A

a serverless compute service that lets you run code without managing servers

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

What does serverless mean?

A

it means that AWS manages the servers for you and you cannot access them.

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

What is a real-life example lambda that could be used for data processing?

A

Say you have a data file that is uploaded to S2 and when it uploads it triggers a lambda which then stores the data from the CSV ins a DynamoDB server

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

How could Lambda be used to send email notifications?

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

How can Lambda be used for backend business logic?

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

What are the 4 features of Lambda?

A
  1. Supports popular programming languages
  2. You author the code using your favorite development environment or via the console
  3. Lambda can execute your code in response to events
  4. Lambda functions have a 15-minutes timeout
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the pricing model for Lambda?

A
  1. Compute time
  2. Request Count
  3. Always Free
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the Compute Time Pricing Model for Lambda?

A
  • Pay only for compute time used
  • There is no charge if your code is not running
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe the Request Count Pricing Model for Lambda?

A
  • A request is counted each time it starts execution
  • Testing counts towards the console count as well
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the Always Free Tier for Lambda?

A
  • The free usage tier includes 1 million free requests each month
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What happens to the pricing after the free-Tier expires for lambda?

A

Even after the free-usage tier expires, you’ll have access to 1 million free lambda calls each month

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

Does Lambda Scale Automatically?

A

Yes, lambda will scale automatically

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

What is the main attraction to lambda for developers?

A

Allows developers to focus on core business logic for the apps they are developing instead of worrying about managing servers

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

What is a function in Lambda?

A

The application code that you author is called a function and can be written in multiple languages

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