Create serverless applications | Choose the best Azure service to automate your business processes Flashcards

1
Q

What are workflows?

A

Business processes modelled in software.

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

Azure includes four different technologies that you can use to build and implement workflows that integrate multiple systems. Name 4.

A
  • Logic Apps
  • Microsoft Power Automate
  • WebJobs
  • Azure Functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a logic app connector?

A

The door to an external service.

A connector is a Logic Apps component that provides an interface to an external service.

For example, the Twitter connector allows you to send and retrieve tweets, while the Office 365 Outlook connector lets you manage your email, calendar, and contacts.

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

What is the condition for creating your own logic app connector?

A

You can create your own connector if your system exposes an API.

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

Which four different types of flow can you create with Power Automate?

A

Automated, Button, Scheduled and Business process.

Automated: Starts by a trigger from some event. For example, the event could be the arrival of a new tweet or a new file being uploaded.
Button: Runs a repetitive task with a single click from your mobile device.
Scheduled: Runs on a regular basis such like once a week, on a specific date, or after 10 hours.
Business process: Models a business process such as the stock ordering process or the complaints procedure. The flow process can have: notification to required people; with their approval recorded; calendar dates for steps; and recorded time of flow steps.

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

What kind of people can best use Power automate?

A

Microsoft Power Automate is more appropriate for use by non-technical staff. It works with a GUI only. Browser and mobile app.
If your workflow designers are IT professionals, developers, or DevOps practitioners, Logic Apps are usually a better fit.

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

What are Code-first technologies and what are Design-first technologies (when it comes to workflow technologies)?

A

Code-first technologies: Logic apps and Power Automate.

Design-first technologies: Azure functions and Webjobs.

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

What are webjobs?

A

WebJobs are a part of the Azure App Service that you can use to run a program or script automatically.

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

Which two kinds of webjobs are there?

A
  • Continuous. Run in a continuous loop. For example, you could use a continuous WebJob to check a shared folder for a new photo.
  • Triggered. Run when you manually start them or on a schedule.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the webjobs sdk support?

A

The WebJobs SDK only supports C# and the NuGet package manager.

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

What is an Azure Function?

A

An Azure Function is a simple way for you to run small pieces of code in the cloud, without having to worry about the infrastructure required to host that code.

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

What does the consumption plan for an Azure function mean?

A

You only pay for the time when the code runs.

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

What are reasons to choose Webjobs over Functions?

A

Close control and you can add it to existing code.

  • You want the code to be a part of an existing App Service application and to be managed as part of that application, for example in the same Azure DevOps environment.
  • You need close control over the object that listens for events that trigger the code. This object in question is the JobHost class, and you have more flexibility to modify its behavior in WebJobs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Can you combine multiple workflow technologies?

A

Yes, you can call one workflow from the other.

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

What is a reason to mix workflow technologies?

A

One reason to mix the technologies used in your business processes would be to give users control over a small section of a complete workflow. Do this by implementing that section in Microsoft Power Automate, then call that flow from a Logic App, Web Job, or Function.

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

What integrates with logic apps more easily, azure functions or webjobs?

A

Although it is possible to call a WebJob from a Logic App, the integration between Logic Apps and Functions is closer.

17
Q

Which workflow technology permits developers to control retry policies?

A

Webjobs