Soru

Zorluk: Çok zorAzure Serverless Compute (Functions and Logic Apps)

An organization is designing a serverless automated pipeline to process customer feedback. The pipeline must ingest customer comments from an external web portal immediately via HTTP webhooks, coordinate a multi-step workflow that passes the comment to a custom Python data-cleaning script, update a database, and conditionally send an email alert via Office 365. The custom Python script requires specialized open-source libraries. The organization wants to minimize administrative overhead and dynamically scale compute resources with zero cost when there is no traffic. Which of the following statements correctly describe how Azure Serverless services should be implemented for this architecture? (Select two)

  1. Azure Logic Apps should be used to coordinate the end-to-end workflow, using its designer-first interface to manage integration triggers and conditional control paths.Cevap
  2. Azure Functions should be used to host and execute the custom Python script, running on a Consumption plan to support serverless scaling and zero-idle cost.Cevap
  3. C
    Azure App Service WebJobs should be used to host the Python script because WebJobs natively support serverless scale-to-zero billing independent of an App Service plan.
  4. D
    Azure Logic Apps should be classified as a Software as a Service (SaaS) model because it handles all underlying OS updates and provides ready-to-use SaaS connectors.

Cevap

The correct implementation is to use Azure Logic Apps to coordinate the workflow and Azure Functions to execute the custom Python script under a Consumption plan.
The workflow requires coordinating multiple endpoints, which is best solved using the designer-first workflow orchestration of Azure Logic Apps. The custom data-cleaning step requires running specialized Python code, which is best suited for Azure Functions under a serverless Consumption plan to allow scaling to zero and cost optimization.

Adım Adım Çözüm

1
Analyze the custom scripting requirement.
The custom Python script requires specialized libraries, pointing to Azure Functions as the code-first serverless compute option.
Azure Functions allows running custom code with custom dependencies in a serverless model.
2
Analyze the orchestration and integration requirement.
The multi-step pipeline connects SaaS tools and databases, pointing to Azure Logic Apps as the designer-first workflow orchestrator.
Azure Logic Apps provides a visual designer and out-of-the-box connectors to orchestrate service integration easily.
3
Evaluate the scaling and cost constraints.
Azure Functions on a Consumption plan satisfies the requirement to scale to zero and minimize costs when idle, unlike WebJobs which runs under App Service plans.
Consumption plans enable serverless scale-to-zero pricing, whereas standard App Service plans charge continuously for reserved compute.
4
Assess service classification.
Both Logic Apps and Functions are Platform as a Service (PaaS) offerings, not Software as a Service (SaaS).
PaaS provides the development platform for building custom logic and workflows, whereas SaaS is end-user application software.

Anahtar Kavram

Differentiating between Azure Functions (code-first serverless compute) and Azure Logic Apps (connector-first workflow orchestrator), and their respective serverless characteristics.
Bu soruyu puanla