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)
- 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
- 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
- CAzure 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.
- DAzure 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
Anahtar Kavram
Differentiating between Azure Functions (code-first serverless compute) and Azure Logic Apps (connector-first workflow orchestrator), and their respective serverless characteristics.