Question

Difficulty: Very hardContainer-Based Workloads

A biotechnology firm is designing a serverless container-based system on Azure to process genomic sequencing data. The architecture must support the following workloads:

* Workload 1: A research portal web application that accepts sequencing requests. The application must scale dynamically based on HTTP traffic, scale down to zero instances during idle periods to minimize costs, and support custom domain names with TLS termination.
* Workload 2: A sequencing analysis processor. Each execution is triggered by a new message in an Azure Service Bus queue, runs to completion, and can take up to three hours to finish. The processor must automatically scale its instances horizontally based on the number of messages in the queue.

You need to recommend the container compute solutions for both workloads. The solution must minimize administrative and operational overhead.

Which services should you recommend?

  1. Azure Container Apps for Workload 1 and Azure Container Apps Jobs for Workload 2Answer
  2. B
    Azure Container Apps for Workload 1 and Azure Functions on a Consumption plan for Workload 2
  3. C
    Azure Kubernetes Service (AKS) for both Workload 1 and Workload 2
  4. D
    Azure Container Apps for Workload 1 and Azure Container Instances (ACI) for Workload 2

Answer

Azure Container Apps for Workload 1 and Azure Container Apps Jobs for Workload 2
The correct recommendation is to use Azure Container Apps for the web application (Workload 1) and Azure Container Apps Jobs for the batch sequencing analysis processor (Workload 2). Azure Container Apps is optimized for HTTP-based, serverless workloads that need to scale down to zero replicas. Azure Container Apps Jobs is designed specifically for run-to-completion tasks triggered by events (such as queue messages) and can run for up to 24 hours, satisfying the 3-hour requirement while natively supporting KEDA-based horizontal scaling to zero.

Step-by-Step Solution

1
Analyze the requirements for Workload 1
Workload 1 is a web application requiring HTTP routing, TLS termination, auto-scaling to zero, and serverless compute. Azure Container Apps is a managed platform that natively supports these features with minimal administrative effort.
Identify the best serverless host for HTTP-triggered web portals without the overhead of AKS.
2
Analyze the requirements for Workload 2
Workload 2 is a queue-triggered, run-to-completion processor that can run for up to three hours and requires event-driven horizontal scaling.
Determine the execution patterns and runtime limitations of the workloads.
3
Evaluate candidate compute services for Workload 2 against runtime and scaling constraints
Azure Functions Consumption plan has a 10-minute execution limit, making it invalid. Azure Container Instances (ACI) lacks native auto-scaling on queue length, requiring custom orchestration. Azure Container Apps Jobs supports run-to-completion execution up to 24 hours and includes native KEDA scalers for Service Bus queues.
Select the option that satisfies the timeout and scaling requirements with the lowest operational overhead.

Key Concept

Selecting the appropriate Azure container hosting option (Azure Container Apps vs. Azure Container Apps Jobs vs. AKS vs. ACI) based on workload execution patterns, scaling behaviors, runtime timeouts, and operational overhead constraints.
Rate this question