Question

Difficulty: EasyServerless and Web Application Hosting

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 3030 minutes per execution.

Which of the following service plans should you recommend for these workloads? (Select TWO.)

  1. Azure Container Apps to host Workload 1Answer
  2. Azure Functions on a Premium plan to host Workload 2Answer
  3. C
    Azure Kubernetes Service (AKS) to host Workload 1
  4. D
    Azure 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 3030 minutes, whereas the Consumption plan has a maximum execution limit of 1010 minutes.

Step-by-Step Solution

1
Analyze the scaling and operational requirements of Workload 1.
Workload 1 requires scaling to zero instances to minimize costs and low operational overhead. Azure Container Apps supports scaling to zero based on HTTP traffic without the cluster management overhead of Azure Kubernetes Service.
This identifies the most cost-effective and low-maintenance hosting option for the microservice.
2
Analyze the execution duration requirements of Workload 2.
Workload 2 runs for up to 3030 minutes, which exceeds the 1010-minute maximum execution timeout of the Azure Functions Consumption plan. Azure Functions on a Premium plan supports execution durations of up to 3030 minutes.
This ensures the selected plan supports the execution duration without experiencing timeout failures.

Key Concept

Selecting Azure compute and serverless hosting plans based on execution duration limits, scaling behavior, and operational overhead.
Rate this question