Soru

Zorluk: ZorServerless and Web Application Hosting

You are designing the serverless compute architecture for a telemetry processing solution. The solution must support two workloads:

* Workload 1: An HTTPS ingestion endpoint that receives telemetry data in unpredictable spikes. The endpoint must scale to zero when idle, support outbound virtual network (VNet) integration to connect to a private backend database, and minimize cold-start latency.
* Workload 2: A batch processing job that runs whenever a new raw data file is uploaded to Azure Blob Storage. Each execution performs complex transformations and takes approximately 1515 minutes to complete.

Which two hosting plans should you recommend to meet the requirements for the workloads? (Select two.)

  1. An Azure Functions App on the Flex Consumption plan to host Workload 1Cevap
  2. An Azure Container Apps Job to host Workload 2Cevap
  3. C
    An Azure Functions App on the Consumption plan to host Workload 2
  4. D
    An Azure Kubernetes Service (AKS) cluster to host Workload 1

Cevap

To meet the requirements, you should recommend hosting Workload 1 on an Azure Functions App using the Flex Consumption plan and hosting Workload 2 on an Azure Container Apps Job.
The Azure Functions Flex Consumption plan is the correct choice for the ingestion endpoint because it provides serverless scaling to zero and built-in virtual network integration to access the private database securely. Azure Container Apps Jobs are correct for the batch processing job because they execute tasks to completion on demand and support execution times that exceed the ten-minute limit of standard serverless functions.

Adım Adım Çözüm

1
Evaluate the requirements of Workload 1.
Workload 1 requires serverless scaling (scale to zero), low cold start latency, and outbound VNet integration to access a private database.
Identifying these key networking and performance constraints narrow down the choices from standard consumption plans.
2
Select the hosting plan for Workload 1.
The Azure Functions Flex Consumption plan supports scale-to-zero and outbound VNet integration, whereas the standard Consumption plan does not support VNet integration.
Matching VNet support and scale-to-zero capabilities ensures secure database connectivity and cost-efficiency.
3
Evaluate the requirements of Workload 2.
Workload 2 requires running a batch processing job triggered by file uploads that takes approximately 1515 minutes to complete.
Understanding the execution duration is critical for avoiding serverless timeout limitations.
4
Select the hosting plan for Workload 2.
An Azure Container Apps Job is selected because it runs on-demand tasks to completion without the 1010-minute execution timeout limit of standard Azure Functions Consumption plans.
This prevents execution timeouts while maintaining serverless execution semantics.

Anahtar Kavram

Architecting serverless solutions in Azure based on network isolation, scaling, and execution duration constraints.
Bu soruyu puanla