You are designing the hosting infrastructure for a new event-driven image processing solution in Azure. The solution has the following workloads:
* API Ingestion: A lightweight endpoint that receives image upload metadata. It requires rapid auto-scaling to handle unpredictable spikes in traffic, and it must scale to zero instances during idle periods to minimize costs. It does not require virtual network (VNet) integration.
* Image Analyzer: A background processor that pulls image analysis tasks from a queue, processes the images, and writes the output to an Azure SQL Database. The processor requires VNet integration to connect securely to the database via a private endpoint, can take up to minutes to process a single complex image, and must scale to zero instances when the queue is empty to minimize costs.
Which compute configuration should you recommend to meet these requirements?
- AHost the API Ingestion on Azure Functions on a Consumption plan, and host the Image Analyzer on Azure Kubernetes Service (AKS).
- Host the API Ingestion on Azure Functions on a Consumption plan, and host the Image Analyzer on Azure Container Apps.Answer
- CHost both the API Ingestion and the Image Analyzer on Azure Functions on a Consumption plan.
- DHost both the API Ingestion and the Image Analyzer on Azure Kubernetes Service (AKS).