Soru

Zorluk: ZorServerless and Web Application Hosting

A healthtech platform is designing an Azure architecture to ingest and analyze genomic sequencing datasets. The solution must support the following workloads:

* Workload A: An API endpoint that receives webhook notifications from external partners. The workload must scale dynamically from zero to handle high bursts of traffic, support custom domain names, and connect securely to an Azure SQL Database using virtual network integration.

* Workload B: A CPU-intensive file processing application packaged as a container image. Each processing run takes between 20 to 45 minutes depending on the file size. The compute resource must scale to zero when no files are available for processing, and it must minimize administrative overhead.

Which two Azure hosting services should you include in the design to meet these requirements?

  1. Azure Functions on a Flex Consumption plan for Workload ACevap
  2. Azure Container Apps Jobs for Workload BCevap
  3. C
    Azure Functions on a Consumption plan for Workload B
  4. D
    Azure Kubernetes Service (AKS) for Workload B
  5. E
    Azure Functions on an Elastic Premium plan for Workload B

Cevap

The hosting services that should be included are Azure Functions on a Flex Consumption plan for Workload A, and Azure Container Apps Jobs for Workload B.
Azure Functions on a Flex Consumption plan is correct for Workload A because it supports fast scaling, virtual network integration, and low cold starts. Azure Container Apps Jobs is correct for Workload B because it is designed for containerized, run-to-completion execution paths that run for hours (bypassing function timeout limits) and scale to zero when not active, without the overhead of AKS.

Adım Adım Çözüm

1
Analyze the scaling, networking, and security requirements for Workload A.
Workload A needs to scale dynamically from zero to handle bursts, support custom domains, and connect securely to Azure SQL Database using virtual network integration.
Virtual network integration is a key security requirement for accessing the database privately.
2
Evaluate hosting options for Workload A.
The standard Consumption plan for Azure Functions does not support virtual network integration. Flex Consumption supports both scale-to-zero and virtual network integration, satisfying all criteria for Workload A.
Choosing Flex Consumption meets the requirement of serverless scaling and private networking.
3
Analyze the execution duration, packaging, and management requirements for Workload B.
Workload B runs as a containerized application, takes between 20 and 45 minutes, must scale to zero when idle, and must minimize administrative overhead.
The 45-minute duration is a strict constraint that rules out standard serverless function timeouts.
4
Evaluate hosting options for Workload B.
Azure Functions on Consumption (10 minutes) and Elastic Premium (30 minutes) plans will timeout. Azure Kubernetes Service (AKS) supports the execution but violates the low administrative overhead constraint. Azure Container Apps Jobs supports run-to-completion containers, executes up to 24 hours, scales to zero, and has minimal administrative overhead.
Selecting Azure Container Apps Jobs provides the correct execution environment without exceeding timeout limits or adding excessive operational overhead.

Anahtar Kavram

Selecting serverless and container hosting solutions in Azure based on execution timeouts, networking needs, and operational overhead.
Bu soruyu puanla