(Unit 4 of 9) Azure Functions Flashcards

1
Q

Describe Azure Functions

A

Azure Functions is an event-driven, serverless compute option that doesn’t require maintaining virtual machines or containers.

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

How does Azure functions work?

A

Azure Functions runs your code when it’s triggered and automatically deallocates resources when the function is finished.

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

Describe a scenario in which you would use Azure Functions.

A

Using Azure Functions is ideal when you’re only concerned about the code running your service and not about the underlying platform or infrastructure.

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

When would it be appropriate to use FUNCTIONS?

A

Functions are commonly used when you need to perform work in response to an event (often via a REST request), timer, or message from another Azure service,

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

Functions ____ automatically based on demand, so they may be a good choice when demand is variable

A

SCALE

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

Describe the benifits of Azure Functions

A
  1. No infrastructure management (Serverless environment)
  2. Scalability (app works under any workload)
  3. Pay-As-You-Use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name the 2 types of Functions

A

Functions can be either stateless or stateful.

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

Describe the first type of function that can be used when using AZ Functions. (1/2)

A

When they’re stateless (the default), they behave as if they’re restarted every time they respond to an event.

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

Describe the second type of function.

A

When they’re stateful (called Durable Functions), a** context** is passed through the function to track prior activity.

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