Lambda COPY COPY Flashcards

1
Q

How do you scale in Lambda?

A

Lambda runs on demand and scales automatically

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

How is Lambda charged?

A

You are charged per request and compute time.

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

What is the free tier limit for Lambda?

A
  • 1,000,000 requests

- 400,000 GBs compute time

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

What is the default timeout for Lambda?

A

3 seconds

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

What is the max timeout for Lambda?

A

300 seconds

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

How much RAM can you allocate to Lambda?

A

128MB to 3GB

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

What must be attached to a Lambda?

A

An IAM execution role

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

What is the default Lambda Concurrency limit?

A

1000 concurrent executions

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

What is the Lambda Throttle behavior?

A
  • If synchronous execution >= limit, return ThrottleError 429
  • If asynchronous execution >= limit, retry automatically and go to DLQ (Dead Letter Queue)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What happens to a function in order for it to land in the DLQ?

A

Async execution fails the first time and is retried two more times automatically, and fails those.

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

What should be checked any time there is an error in Lambda when interacting with other services?

A

Make sure the IAM role has the permissions to interact with the service.

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

RAM in Lambda is increased in what increments?

A

64MB increments

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

What is the disk capacity in the function container?

A

512MB

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

What is the max size of the LAmbda function zip file?

A

50MB

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

What is the max size of the uncompressed Lambda function and its dependencies?

A

250MB

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

What is the max size of your environment variables?

A

4KB

17
Q

What is the current working Lambda version called?

A

$LATEST

18
Q

How do you modify a Lambda version?

A

You cant, they’re immutable. Create a new version

19
Q

What is an easy way to assign the correct Lambda versions to the correct env?

A

Use aliases