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 minutes to complete.
Which two hosting plans should you recommend to meet the requirements for the workloads? (Select two.)
- An Azure Functions App on the Flex Consumption plan to host Workload 1Answer
- An Azure Container Apps Job to host Workload 2Answer
- CAn Azure Functions App on the Consumption plan to host Workload 2
- DAn Azure Kubernetes Service (AKS) cluster to host Workload 1
Answer
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.
Step-by-Step Solution
Key Concept
Architecting serverless solutions in Azure based on network isolation, scaling, and execution duration constraints.