Lambda Flashcards

(29 cards)

1
Q

What unit is Lambda charged in

A

Per 100m/s

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

Explain Lambda functions

A

The code you want to run

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

Explain lambda event sources

A

Services and events that trigger your lambda function

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

In context of Lambda. What is a downstream resource?

A

Resources required in execution of your functions.

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

Explain Log Streaming

A

Output from your lambda functions.

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

Lambda function deployment packages, can be two file types. They are…

A

.zip or .jar

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

What kind of EC2 instances does Lambda use for running code?

A

General Purpose Family.

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

What’s the default runtime of a lambda function

A

3 seconds

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

To reduce the cost of lambda functions. Lower these two things…

A

Memory and Timeout

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

If you choose to run a Lambda function in your VPC. Can the function can connect to the internet?

A

Only if the subnet of is in has a network gateway.

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

Lambda functions not ran in a VPC. Can access the internet by default?

A

Yes

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

Should you assign lambda functions to a public subnet?

A

NO!

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

If you are running your Lambda function on your own VPC. Who’s responsibility is High availability?

A

Yours

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

True or false. When lambda fails. It writes to a DLQ?

A

True

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

A synchronous lambda event fails. Will it automatically retry?

A

No

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

An asynchronous lambda event fails. How many more times will it attempt to run by default?

17
Q

In the context of Lambda. Explain Concurrency.

A

How many occurrences of a lambda function you can have running at once in a single region.

18
Q

What’s default concurrency value for a Lambda event in a single region?

19
Q

How do you raise concurrency in Lambda?

20
Q

True or false. Concurrency can be based on a function by function basis?

21
Q

When you throttle a lambda function. What happens?

A

It won’t run!

22
Q

Lambda exports can output two file formats. They are…

23
Q

Are lambda tests user specific?

24
Q

What is event source mapping in Lambda?

A

The configuration that links event source and lambda function.

25
In Lambda. You need some functions to run sequentially. What kind of function should they be?
Synchronous
26
You have some lambda functions, and it doesn’t matter what order they run in. Consider using ...... functions.
Asynchronous
27
Can Lambda access resources on dedicated tenancy?
No
28
A Lambda function in your VPC needs access to the internet. How to do this?
Attatch it to a private subnet with a Nat Gateway.
29
You need to run a Lambda event on a schedule. How do you do this?
Use a time based cloud watch event to trigger the function.