AZ204 Flashcards
What is serverless
Fully managed cloud services
Name 5 characterics of Serverless?
Highly elastic
Highly available
Highly scalable
Highly durable
Secure by default
What happens to infrastructure in a serverless context
Is abstracted away.
What is billing based on with a serverless application?
On the execution of your business task
What does it mean to Scale to zero and what is benefit as apposed to On-premise or non-serverless applications?
Not using it means it doesn’t cost you anything, and the benefit is that you don’t pay for idling servers on premises or in the cloud.
What does FaaS mean?
Function as a servers
Describe a FaaS
Event-driven trigger functions based on event data and/or emit event data.
Multiple functions can be orchestrated together to create a serverless app
They run only when triggered by several types of triggers
What does it mean for a function to be truly serverless?
It’s fully managed and it scales to zero
What is Azure functions
A FaaS service by Azure, that allows developers to focus on writing code and not worrying about underlying infrastructure.
What high-level things are defined in a Functions App?
Hosting, Runtime and global configuration
What is an output binding?
An output binding is a data sink that receive outputted data from an Azure Function
Is a storage account needed to operate a function app?
yes
When you delete a storage account, what happens to your function app?
The function app is not deleted but it doesn’t work anymore
Name 4 types of storage in a storage acccount?
Blob storage
Azure Files
Queue Storage
Table Storage
What is contained in a function.json file?
Configuration of a single function defining the bindings
What are the 3 levels of authorization in Azure Functions?
Anonynous,
Function,
Admin
What would you use streaming logs for when talking about Function Apps
You can view logging stream from your functions app for debugging.
You can also hook up application insights for live metrics stream and live logging
Name several qualities of Azure functions
lightweight,
Serverless,
Write and deploy,
Triggered by events
No infrastructure,
Little to no maintenance,
Built, tested and deployed using the azure portal on windows only,
Easy to update,
Pay when running,
Industry standard communications with APIs, databases, libraries
What does it mean to have a cold start in azure functions?
If no azure functions are running, it might take some time for the azure function app to start before responding to requests.
Name 5 types of solutions of that Azure Functions are great for?
Processing data
Integrating system
IoT solutions
Simple APIs
Microservices
What do you call a output for an Azure Function?
Binding
What do you call the thing that starts an Azure Function?
Trigger
What is the difference between Azure Functions and Logic Apps
Both process serverless workloads but functions are a serverless compute services and a logic app is a serverless workflow
What do you call a Azure Function with complex orchestrated actions?
Durable Functions
What are functions or steps in Azure Logic Apps called?
Actions
How do you monitor Logic Apps?
Azure Portal and Azure Monitor Logs
How do you monitor an Azure Function?
Azure Application Insights
How is execution context of logic apps described?
It supports ‘Run-Anywhere’ scenarios
What is Azure App Service Webjobs?
A code-first integration service designed for developers
How is monitoring done in Azure App Service Webjobs?
Azure Application Insights
Can you test and develop Azure Functions in the browser?
yes
Can you test and develop Azure App Service Webjob in the browser?
No
Can you integrate Webjobs with Azure Logic Apps?
No
Can you integrate Azure Functions with Logic apps?
Yes
Can you integrate Azure Functions with Logic apps?
Yes
Name 7 Azure function triggers?
Timer,
Storage queue and blobs
Servicebus topics and queues
Cosmos Db
Event hubs
Http / Webhooks
Event grid
Name 6 trigger events for azure app service webjob?
Timer,
Storage queues and blobs
Service bus queues and topics
Cosmos Db
Event Hub
File system
Name the 5 hosting plans for azure functions
Consumption,
Premium,
Dedicated,
App Service Environment,
Kubernetes