Exam AZ-900 All QuestionsBrowse all questions from this exam
Question 137

DRAG DROP -

Match the serverless solution to the correct characteristic.

To answer, drag the appropriate serverless solution from the column on the left to its characteristic on the right. Each serverless solution may be used once, more than once, or not at all.

NOTE: Each correct match is worth one point.

Select and Place:

    Correct Answer:

    Box 1: Azure Functions -

    Azure Functions allows you to implement your system's logic into readily available blocks of code called "functions". Different functions can run anytime you need to respond to critical events.

    Box 2: Azure Functions -

    Azure Logic Apps can have multiple stateful and stateless workflows.

    Box 3: Azure Logic Apps -

    Azure Logic Apps is a cloud-based platform for creating and running automated workflows that integrate your apps, data, services, and systems.

    Reference:

    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-overview https://docs.microsoft.com/en-us/azure/azure-functions/functions-overview

Discussion
Pedrazini

Correct is Functions, Logic Apps, Logic Apps -> https://docs.microsoft.com/en-us/learn/modules/azure-compute-fundamentals/azure-functions?ns-enrollment-type=LearningPath&ns-enrollment-id=learn.az-900-describe-core-azure-services

orlandoryo

Yes, the table at the end of the page clearly shows that Logic Apps are ALWAYS stateful.

rv_azure

Executes Code - Azure Functions Is Stateful - Azure Logic Apps Runs only in cloud - Azure Logic Apps

OShpapi

you are very wrong. use this as a guidance https://docs.microsoft.com/en-us/learn/modules/azure-compute-fundamentals/azure-functions?ns-enrollment-type=LearningPath&ns-enrollment-id=learn.az-900-describe-core-azure-services

mehasi

Functions can be either stateless or stateful. When they're stateless >>(the default)<<, they behave as if they're restarted every time they respond to an event. When they're stateful >>(called Durable Functions)<<, a context is passed through the function to track prior activity. Durable Functions : is an extension of Azure Functions https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview?tabs=csharp

Hermitjay02

the question states "Is stateful" meaning at every given point. Functions is usually stateless except Durable Functions which is not stated in the question. Therefore Logic Apps is correct as it is always stateful.

sideque

no you

Hoeishetmogelijk

This is completely right: just look at the Functions vs. Logic Apps section on this page: https://learn.microsoft.com/en-us/training/modules/azure-compute-fundamentals/azure-functions

Stopblindlytrustingchatbot

Thank you for this, it clearly says: Functions can be either stateless or stateful. When they're stateless (the default), they behave as if they're restarted every time they respond to an event. When they're stateful (called Durable Functions), a context is passed through the function to track prior activity.

Alex4190

FUNCTIONS LOGIC APPS LOGIC APPS Functions can be stateful and stateless

navidahmed

none of the two options are always steteful, A single logic app can have multiple stateful and stateless workflows. Functions are also stateful or stateless

oopspruu

Correct answer is: Functions, Logic Apps, Logic Apps. Logic Apps are always stateful and they cannot execute code.

ziggy1117

Function, Logic, Logic -> https://learn.microsoft.com/en-us/training/modules/azure-compute-fundamentals/azure-functions

dayotee

This is the correct answer: Executes code = Azure Functions Is Always Stateful = neither Azure Functions nor Azure Logic Apps is always stateful. According to these links below, both services can be stateful and/or stateless: Azure Functions (https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview?tabs=in-process%2Cnodejs-v3%2Cv1-model&pivots=csharp ; https://learn.microsoft.com/en-us/archive/msdn-magazine/2019/august/azure-affairs-of-state-serverless-and-stateless-code-execution-with-azure-functions) Azure Logic Apps (https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-overview) Runs only in cloud = Azure Logic Apps

JayStolzenwald

Second answer should be blanc. Nothing is holding you back from creating a stateless Azure Logic App. They even state it on the Logic App page: "Support stateless workflows to enhance performance for request and response scenarios." https://azure.microsoft.com/en-us/products/logic-apps So it's definitely not ALWAYS stateful. And of course same is true for Azure Functions

dgerok

Executes: functions Always stateful: ALA* *Azure Functions has two programming models: V3 and V4. V3 functions are always stateless, while V4 functions can be either stateless or stateful by using the Durable Functions extension. Durable Functions lets you write orchestrator functions and entity functions that define stateful workflows and entities using the Azure Functions programming model. https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview Runs ONLY in cloud: ALA** **Azure Functions can run locally, on any self-managed server, in containers or in Azure. Logic Apps run only in Azure. https://learn.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs

ankeet1

Functions can be either Stateful OR Stateless. The Answer to B is Logic Apps.

Rainheart

Azure Logic Apps is always stateful, while Azure Functions can be either stateless or stateful. So second fill is wrong

Riyaaaaa

According to Chatgpt: Azure Logic App is always stateful, whereas Azure Function can be stateful or stateless, depending on how it is designed and implemented.

Frns

Functions: Execute code, can be either stateless or stateful, and Can run locally or in the cloud. Logic App: Execute logic, Stateful, Runs only in the cloud. https://learn.microsoft.com/en-us/training/modules/azure-compute-fundamentals/azure-functions

runnerZ

Functions can be either stateless or stateful. When they're stateless (the default), they behave as if they're restarted every time they respond to an event. When they're stateful (called Durable Functions), a context is passed through the function to track prior activity.

NoursBear

Azure Function is always stateful. Logic Apps can be both.

NoursBear

but then again I am reading contradictory documentation

PeterV72

A single logic app can have multiple stateful and stateless workflows.

Frns

Functions can be either stateless or stateful. When they're stateless (the default), they behave as if they're restarted every time they respond to an event. When they're stateful (called Durable Functions), a context is passed through the function to track prior activity.

Frns

Azure function can run locally or in the cloud. Logic apps runs only in the cloud. https://learn.microsoft.com/en-us/training/modules/azure-compute-fundamentals/azure-functions