Question

Difficulty: HardServerless and Web Application Hosting

A digital marketing agency is designing the compute infrastructure for a new campaign analytics platform. The platform must support two distinct workloads:

1. **Workload 11**: A public-facing REST API that collects clickstream events from active marketing campaigns. The API is containerized, requires outbound virtual network (VNet) integration to access an Azure SQL Database via private endpoints, and experiences highly unpredictable demand, scaling down to 00 instances during off-peak hours to eliminate idle costs. Minimal infrastructure management is a key priority.
2. **Workload 22**: A data processing worker that aggregates campaign metrics daily. The worker is packaged as a container, runs as a single batch job that executes for approximately 4040 minutes, and requires access to local scratch disk storage for temporary data processing.

Which compute hosting architecture should you recommend to meet these requirements?

  1. A
    Azure Kubernetes Service (AKS) for both Workload 11 and Workload 22.
  2. B
    Azure Container Apps for Workload 11, and Azure Functions on a Consumption plan for Workload 22.
  3. Azure Container Apps for Workload 11, and Azure Container Apps Jobs for Workload 22.Answer
  4. D
    Azure App Service (Premium v 33 plan) for Workload 11, and Azure Functions on a Consumption plan for Workload 22.

Answer

Azure Container Apps for Workload 11, and Azure Container Apps Jobs for Workload 22
The compute architecture recommending Azure Container Apps for Workload 11 and Azure Container Apps Jobs for Workload 22 is correct because Azure Container Apps provides a serverless platform that supports scaling to 00 instances, VNet integration, and minimum administrative overhead. Azure Container Apps Jobs is purpose-built for run-to-completion, long-running (up to several hours) containerized execution, fully accommodating the 4040-minute duration of the daily aggregation job.

Step-by-Step Solution

1
Analyze the scaling and cost constraints of Workload 11.
Workload 11 requires containerized hosting, outbound VNet integration, minimal management overhead, and must scale to 00 instances during idle periods to avoid costs.
This rules out Azure App Service Premium v 33 because it does not scale to zero cost, and rules out Azure Kubernetes Service (AKS) due to high administrative overhead.
2
Analyze the execution duration and environment constraints of Workload 22.
Workload 22 runs as a single batch container for 4040 minutes and requires scratch disk space.
This rules out Azure Functions on a Consumption plan because its maximum execution duration is restricted to 1010 minutes.
3
Identify the service combinations that satisfy both workloads.
Azure Container Apps (ACA) satisfies Workload 11's requirements. Azure Container Apps Jobs (ACA Jobs) supports long-running (up to several hours) containerized batch execution and local storage, satisfying Workload 22.
Combining ACA and ACA Jobs delivers a fully serverless, containerized solution with minimal management overhead, VNet support, and scale-to-zero capabilities for both components.

Key Concept

Selecting optimal serverless and web hosting architectures in Azure based on execution timeouts, scaling constraints, and operational overhead.
Estimated Time:2m 0s
Rate this question