Soru

Zorluk: KolayAzure Serverless Compute (Functions and Logic Apps)

A retail company wants to automate its order processing system. The solution must run a custom C# script to validate inventory levels and then send a confirmation email to the customer using an Office 365 Outlook connector. Which of the following recommendations should the company implement? (Select two).

  1. Use Azure Functions to execute the custom C# script.Cevap
  2. Use Azure Logic Apps to design the workflow and integrate the Outlook connector.Cevap
  3. C
    Use Azure Logic Apps to write, compile, and execute the custom C# validation script directly.
  4. D
    Use Azure Virtual Machines to host the validation script because Microsoft manages all operating system patching for virtual machines in a PaaS model.

Cevap

Use Azure Functions to execute the custom C# script, and use Azure Logic Apps to design the integration workflow and connect the Office 365 Outlook service.
The solution requires both custom code execution and visual workflow orchestration. The recommendation to use Azure Functions is correct because it provides serverless compute to execute custom scripts like C#. The recommendation to use Azure Logic Apps is correct because it is a serverless orchestration service that makes it easy to integrate with systems such as Outlook using pre-built connectors.

Adım Adım Çözüm

1
Identify the service for custom code execution.
Azure Functions is selected because it is a code-first, serverless compute service designed to run custom code such as C# scripts.
Running custom application logic requires code execution capability rather than visual workflows.
2
Identify the service for system integration and visual workflow orchestration.
Azure Logic Apps is selected because it provides a visual designer and pre-built connectors to orchestrate workflows and connect to services like Office 365 Outlook.
Connecting multiple services and triggering workflows is best achieved using a visual orchestrator.

Anahtar Kavram

Azure Serverless Compute services: Azure Functions for code-first execution and Azure Logic Apps for connector-first workflow orchestration.
Bu soruyu puanla