Microsoft Certified: Azure Developer Associate (AZ-204)Connect to and consume Azure services and third-party servicesEasy

A company is developing a serverless application that needs to execute a long-running, multi-step business process. This process involves calling external APIs, waiting for human approval, and then updating several databases. The entire workflow can take hours or even days to complete. Which Azure compute service is best suited for implementing this orchestration?

  1. AAzure App Service
  2. BAzure Functions with HTTP triggers
  3. CAzure Container Instances
  4. DAzure Logic Apps
Show answer & explanation

Correct answer: D. Azure Logic Apps

Azure Logic Apps are specifically designed for orchestrating complex, long-running workflows that involve multiple steps, external services, and human interaction, with built-in state management and retry policies. Azure Functions with HTTP triggers are stateless and best for short-lived, event-driven tasks. Container Instances and App Service host general-purpose applications but don't provide inherent workflow orchestration capabilities.

Why the other options are wrong

  • A. Azure App Service hosts web applications and APIs but does not provide built-in capabilities for orchestrating long-running, stateful business processes.
  • B. Azure Functions with HTTP triggers are stateless and primarily used for short-lived, event-driven tasks, not long-running, multi-step orchestrations.
  • C. Azure Container Instances run isolated containers and are not designed for orchestrating multi-step, stateful workflows.

Azure Logic Apps

Azure Logic Apps is a cloud service that helps you schedule, automate, and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, devices, and services across enterprises or organizations.

  • Visual designer for workflow creation.
  • Supports long-running, stateful processes.
  • Connects to hundreds of services via connectors.
  • Ideal for integration and orchestration.

Memory trick: Logic orchestrates a long, step-by-step dance.

More Connect to and consume Azure services and third-party services questions