Soru

Zorluk: ZorServerless and Web Application Hosting

An enterprise is designing a serverless data processing pipeline in Azure to support a telemetry analysis system. The solution must host the following workloads:

- Workload 1: An event-driven API endpoint that ingests telemetry data. The workload must scale rapidly from 00 to handle unpredictable traffic spikes, incur 00 cost when idle, and route outbound traffic through an Azure Virtual Network to securely access a private database.
- Workload 2: A batch processing job that runs containerized custom simulation code triggered by telemetry events. The job must run for up to 4545 minutes per execution and dynamically scale down to 00 instances when no simulations are active.

The architecture must minimize operational management overhead and monthly hosting costs.

Which two compute solutions should you recommend? (Select two.)

  1. Azure Functions on a Flex Consumption plan for Workload 1Cevap
  2. Azure Container Apps Jobs for Workload 2Cevap
  3. C
    Azure Functions on a Consumption plan for Workload 2
  4. D
    An Azure Kubernetes Service (AKS) cluster for Workload 2
  5. E
    Azure Functions on a Consumption plan for Workload 1

Cevap

Azure Functions on a Flex Consumption plan should be recommended for Workload 1, and Azure Container Apps Jobs should be recommended for Workload 2.
Azure Functions on a Flex Consumption plan is the correct choice for the event-driven ingestion workload because it combines event-driven serverless scaling and scale-to-zero capabilities with native virtual network integration. Azure Container Apps Jobs is the correct choice for the batch simulation workload because it is serverless, scales to zero when no jobs are active, supports custom containerized runtimes, and allows jobs to execute for up to 2424 hours, which easily accommodates the 4545-minute runtime without timeout failures.

Adım Adım Çözüm

1
Evaluate the requirements for Workload 1.
Workload 1 requires rapid scale-out from 00, zero cost when idle, and outbound virtual network integration to reach a private database. Azure Functions on a Flex Consumption plan meets all these needs.
Standard Consumption plans lack virtual network integration, while App Service plans do not scale to zero or scale out as rapidly.
2
Evaluate the requirements for Workload 2.
Workload 2 requires containerized execution, dynamic scale-to-zero behavior, and support for a 4545-minute execution duration. Azure Container Apps Jobs meets these constraints.
Azure Functions on Consumption plans are limited by a 1010-minute timeout, and deploying an Azure Kubernetes Service cluster would introduce excessive operational management overhead.
3
Select the correct combination.
Azure Functions on a Flex Consumption plan for Workload 1 and Azure Container Apps Jobs for Workload 2.
This combination satisfies all networking, execution duration, and cost/overhead constraints.

Anahtar Kavram

Selecting serverless compute resources based on scaling behaviors, networking requirements, execution timeouts, and operational overhead.
Bu soruyu puanla