You are designing the hosting infrastructure for two new workloads in Azure:
- Workload 1: A lightweight microservice that processes HTTP requests and must scale down to zero instances to minimize costs during idle periods.
- Workload 2: A data processing job that executes triggered events and runs for up to minutes per execution.
Which of the following service plans should you recommend for these workloads? (Select TWO.)
- Azure Container Apps to host Workload 1Answer
- Azure Functions on a Premium plan to host Workload 2Answer
- CAzure Kubernetes Service (AKS) to host Workload 1
- DAzure Functions on a Consumption plan to host Workload 2
Answer
Azure Container Apps to host Workload 1 and Azure Functions on a Premium plan to host Workload 2
Azure Container Apps is the ideal choice for Workload 1 because it allows simple containerized microservices to scale down to zero instances when idle, minimizing costs without the management complexity of a Kubernetes cluster. Azure Functions on a Premium plan is correct for Workload 2 because it supports execution durations of up to minutes, whereas the Consumption plan has a maximum execution limit of minutes.
Step-by-Step Solution
Key Concept
Selecting Azure compute and serverless hosting plans based on execution duration limits, scaling behavior, and operational overhead.