Lambda Flashcards

1
Q

What is Lambda provisioned concurrency?

A

Provisioned concurrency initializes a requested number of execution environments so that they are prepared to respond immediately to your function’s invocations. Note that configuring provisioned concurrency incurs charges to your AWS account.

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

What is Lambda reserved concurrency?

A

Reserved concurrency guarantees the maximum number of concurrent instances for the function. When a function has reserved concurrency, no other function can use that concurrency. There is no charge for configuring reserved concurrency for a function.

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

Is it possible to scale Lambda provisioned concurrency?

A

Application Auto Scaling allows you to manage provisioned concurrency on a schedule or based on utilization.

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

Is it possible to scale Lambda reserved concurrency on a schedule?

A

You cannot configure Application Auto Scaling to manage Lambda reserved concurrency on a schedule.

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

How can you test the Lambda functions running on containers locally?

A

You can test the containers locally using the Lambda Runtime Interface Emulator.

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

What is the maximum Lambda container image size?

A

Lambda supports a maximum uncompressed image size of 10 GB, including all layers.

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

What one shoud do to troubleshoot any failures in Lambda functions?

A

One should insert logging statements in the Lambda function code

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

In which use case you can create Dead Letter Queue (DLQ) for AWS Lambda functions: synchronous or asynchronous?

A

All asynchronous invocations, including those delivered via AWS events (S3, SNS, IoT, etc).

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

What is the maximum total size of all environment variables for a Lambda function?

A

4 KB

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