Implement Azure Functions Flashcards
Should you consider Azure Functions for tasks that you want to run on a schedule?
Yes
What starts the execution of code in a Function?
A trigger
What simplifies coding for input and output data?
Bindings
What other Azure services enables serverless workflows?
Azure Logic Apps
What is the conceptual different between Functions and Logic Apps?
Functions is a serverless compute service; Logic Apps provide serverless workflows
What is an orchestration?
A collection of functions or steps (called Actions in Logic Apps) that are executed to accomplish a complex task
How do you develop orchestrations in Functions?
By writing code and using the Durable Functions extension?
How do you develop orchestrations in Logic Apps?
By using a GUI and editing configuration files
Can you mix and match Functions and Logic Apps to build an orchestration?
Yes. You can call functions from Logic Apps and Logic Apps from functions.
What do you use to monitor Azure Functions?
Application Insights
What do you use to monitor Logic Apps?
Azure Portal and Azure Monitor Logs
Do Functions support a serverless app model with auto-scaling?
Yes
Do WebJobs support a serverless app model with auto-scaling?
No
Can you integrate WebJobs with Logic Apps?
No
What additional trigger events do Functions have compared to WebJobs?
HTTP / Web Hook, Azure Event Grid
What are the three hosting plans for Function apps?
Consumption, Functions Premium, and App Service (Dedicated)
What does the hosting plan dictate for Functions?
- How the function app is scaled
- The resources available to each function app instance
- Support for advanced functionality, like Virtual Network connectivity
Can the Functions Premium plan connect to VNets?
Yes
In the Functions Consumption Plan, are the Functions hosts added and removed dynamically based on the number of incoming events?
Yes
When should you use a Dedicated Plan with Functions?
For long-running scenarios where Durable Functions cannot be used
What other two hosting options, aside from Consumption, Premium, and Dedicated, are available for Functions?
ASE and Kubernetes
What is KEDA?
Kubernetes-based Evemt Driven Autoscaling
What setting should be enabled on the Dedicate Plan to make sure functions run correctly with no warm-up?
Always On
What are the Azure Storage account requirements to run Functions?
A function app requires a general storage account which supports Blob, Queue, Files, and Table storage
What does Azure Functions use Azure Storage for?
Managing triggers, logging function invocations
Can you use the Storage Account for triggers and logging to store application data?
Yes. However, for storage-intensive operations you should use a separate storage account.
Do the Consumption and Premium plans scale CPU and memory with the number of events that trigger a function?
Yes. Additional Functions hosts are added as required
What’s the memory and CPU footprint of a Functions host in the Consumption plan?
1.5 GB and one vCPU
Is an instance of a Functions host the entire function app?
Yes. All functions within a function app share resource within an instance, and scale at the same time
Do functions apps that share the same Consumption plan scale independently?
Yes.
In the Premium plan, do function apps in the plan scale independently?
No. The plan size determines the available memory and CPU for all app in that plan on that instance.
Where are Function code files stored.
In the Azure Files shares on the function’s main storage account