A retail company is designing the hosting architecture for a new serverless order management system. The solution must host two distinct services:
1. An order intake service that processes incoming HTTP webhooks. This service must scale dynamically to zero when idle and executes for less than three minutes per invocation.
2. A data ingestion background service that processes large files from a storage queue. Each message processing job runs continuously and can take up to 25 minutes to complete.
Which two Azure hosting options should you recommend to meet these requirements while minimizing administrative overhead? (Select TWO.)
- Azure Functions on a Consumption plan to host the order intake serviceAnswer
- Azure Container Apps Jobs to host the data ingestion background serviceAnswer
- CAzure Functions on a Consumption plan to host the data ingestion background service
- DAzure Kubernetes Service (AKS) to host the order intake service
Answer
Azure Functions on a Consumption plan should be used to host the order intake service, and Azure Container Apps Jobs should be used to host the data ingestion background service.
The correct recommendation is to host the order intake service on Azure Functions on a Consumption plan and host the data ingestion background service on Azure Container Apps Jobs. Azure Functions on a Consumption plan scale to zero and easily accommodate the 3-minute execution limit of the HTTP webhooks. Azure Container Apps Jobs are optimized for containerized tasks that run to completion and can execute for up to several hours, which accommodates the 25-minute execution duration without the management overhead of an AKS cluster.
Step-by-Step Solution
Key Concept
Selecting serverless hosting options based on execution timeouts and administrative overhead
Estimated Time:1m 30s