Explore Azure Functions Flashcards

1
Q

What is the primary benefit of using Azure Functions?

a) It allows you to manage servers more easily
b) It reduces the need for writing code
c) It offers a serverless solution with minimal infrastructure management
d) It provides enhanced database management

A

c) It offers a serverless solution with minimal infrastructure management

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

How do Azure Functions trigger the execution of your code?

a) By using binding events
b) Through triggers, which start code execution
c) With manual start operations only
d) By defining input and output in a GUI

A

b) Through triggers, which start code execution

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

What is the key difference between Azure Functions and Azure Logic Apps in terms of development?

a) Azure Functions is designer-first, while Logic Apps is code-first
b) Azure Functions is code-first, while Logic Apps is designer-first
c) Both are code-first services
d) Both are GUI-based services

A

b) Azure Functions is code-first, while Logic Apps is designer-first

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

What tool is commonly used for monitoring Azure Functions?

a) Azure Monitor logs
b) Azure Application Insights
c) REST API
d) PowerShell

A

b) Azure Application Insights

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

What is a key difference between Azure Functions and WebJobs in terms of scaling?

a) Azure Functions does not support automatic scaling
b) WebJobs supports automatic scaling, while Azure Functions does not
c) Azure Functions supports automatic scaling, while WebJobs does not
d) Both Azure Functions and WebJobs support automatic scaling

A

c) Azure Functions supports automatic scaling, while WebJobs does not

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

Which of the following features is unique to Azure Functions compared to WebJobs?

a) Pay-per-use pricing model
b) File system trigger events
c) Integration with Application Insights
d) Integration with Azure Storage

A

a) Pay-per-use pricing model

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

What is a common feature between Azure Functions and WebJobs?

a) Browser-based development
b) Serverless app model
c) Trigger events using Azure Storage queues and blobs
d) Pay-per-use pricing

A

c) Trigger events using Azure Storage queues and blobs

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

What factor makes Azure Functions more suitable for most scenarios compared to WebJobs?

a) More programming language support and development environments
b) It is built on a separate framework from WebJobs
c) It does not support integration with Logic Apps
d) It offers fewer integration options

A

a) More programming language support and development environments

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

What is a key difference between the Consumption plan and the Flex Consumption plan for Azure Functions?

a) Flex Consumption plan supports Linux containers
b) Flex Consumption plan allows pre-provisioned instances
c) Flex Consumption plan has no support for virtual networking
d) Consumption plan offers higher scalability than Flex Consumption plan

A

b) Flex Consumption plan allows pre-provisioned instances

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

Which hosting option is the default for Azure Functions?

a) Premium plan
b) Consumption plan
c) Dedicated plan
d) Container Apps

A

b) Consumption plan

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

Which hosting option supports Linux containers for Azure Functions?

a) Consumption plan
b) Flex Consumption plan
c) Premium plan
d) None of the plans

A

c) Premium plan

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

What is a common benefit of both the Consumption and Flex Consumption plans?

a) Support for Azure Virtual Network connectivity
b) Pay-as-you-go billing
c) Pre-provisioned instances
d) Linux container support

A

b) Pay-as-you-go billing

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

Which hosting option is best if your Azure Functions need virtual network connectivity and prewarmed workers?

a) Consumption plan
b) Flex Consumption plan
c) Premium plan
d) Dedicated plan

A

c) Premium plan

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

In which scenario should you consider using the Azure Functions Dedicated plan?

a) You want to use custom Linux images
b) You need fully predictable billing and manual scaling
c) You have high memory usage and need full compute isolation
d) You require a high number of small executions with low GB seconds

A

b) You need fully predictable billing and manual scaling

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

Which hosting option allows you to run containerized function apps alongside other microservices in a fully managed environment?

a) Premium plan
b) Dedicated plan
c) Container Apps
d) Consumption plan

A

c) Container Apps

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

What is the maximum execution time for functions in the Flex Consumption plan?

a) 5 minutes
b) 30 minutes
c) 10 minutes
d) Unlimited

A

d) Unlimited

17
Q

Which Azure Functions hosting plan can scale up to 200 instances on Windows but only 100 on Linux?

a) Flex Consumption plan
b) Consumption plan
c) Premium plan
d) Container Apps

A

b) Consumption plan

18
Q

Which hosting option uses event-driven scaling that calculates scaling decisions on a per-function basis?

a) Consumption plan
b) Premium plan
c) Flex Consumption plan
d) Dedicated plan

A

c) Flex Consumption plan

19
Q

Which hosting option provides the largest potential maximum number of instances for scale-out?

a) Consumption plan
b) Premium plan
c) Dedicated plan
d) Container Apps

A

d) Container Apps

20
Q

In which hosting plan is the scale-out limited only by total memory usage across a given region?

a) Premium plan
b) Flex Consumption plan
c) Consumption plan
d) Dedicated plan

A

b) Flex Consumption plan