AZ-305 Question 163
Select 2Your company is designing an automated order processing system. The system must consume incoming orders from an Azure Service Bus queue, validate the order details, and then store the order data in an Azure SQL Database. You need a serverless approach that automatically scales based on concurrent message volume and minimizes administrative overhead. Which two Azure services should you recommend for orchestrating this workflow and implementing the compute logic?
- A
Azure Functions (Consumption plan)
- B
Azure Virtual Machine Scale Sets
- C
Azure Logic Apps
- D
Azure Kubernetes Service (AKS)
Show answer and explanation
Correct answers: A, C
Explanation
In serverless solutions, you seek to abstract away infrastructure management and pay only for consumption. Azure Functions (Consumption plan) and Azure Logic Apps both meet these criteria, providing on-demand scale for compute and workflow orchestration. Azure Virtual Machine Scale Sets and Azure Kubernetes Service involve more infrastructure management, making them less suitable in scenarios requiring minimal operational overhead. For more information, see Microsoft docs: https://docs.microsoft.com/azure/azure-functions/ and https://docs.microsoft.com/azure/logic-apps/
- A. Correct.
Azure Functions (Consumption plan) is ideal for event-driven, serverless compute. It scales automatically based on demand and billing is based on actual usage. This directly aligns with the requirement to handle messages from the Service Bus queue without managing infrastructure.
- B. Incorrect.
Azure Virtual Machine Scale Sets provide autoscaling for VMs but require more operational overhead and maintenance than a serverless service. This is not the best approach if you want minimal administrative overhead.
- C. Correct.
Azure Logic Apps is a serverless workflow engine that can easily orchestrate tasks such as receiving messages from Service Bus, passing them along to Azure Functions for validation, and adding data to Azure SQL Database. It also scales on demand and is billed per action/task, fitting the requirement perfectly.
- D. Incorrect.
Azure Kubernetes Service (AKS) is a managed Kubernetes solution. While it supports autoscaling, it is not an entirely serverless offering; you still manage and maintain the Kubernetes cluster. This makes it less suitable when the primary objective is a fully serverless solution with minimal administration.