A media streaming company is designing a serverless video processing and distribution portal. The architecture requires two workloads:
* User portal frontend: A static single-page application (SPA) that must be globally distributed with minimal latency, SSL termination, and custom domain support.
* Video encoding microservice: A containerized workload that processes uploaded video files. The encoding job takes to minutes to run per video, and compute resources must only be active during the encoding process to avoid baseline idle charges.
Which two Azure hosting solutions should you recommend to meet these requirements? (Choose two.)
- Azure Static Web Apps for the user portal frontendAnswer
- Azure Container Apps jobs for the video encoding microserviceAnswer
- CAzure Functions on a Consumption plan for the video encoding microservice
- DAn Azure Kubernetes Service (AKS) cluster to host the video encoding microservice and the user portal frontend
Answer
The correct architecture recommends Azure Static Web Apps for the user portal frontend and Azure Container Apps jobs for the video encoding microservice.
The combination of Azure Static Web Apps and Azure Container Apps jobs meets all functional, non-functional, and operational requirements. Azure Static Web Apps provides a globally optimized, managed hosting environment for the static frontend. Azure Container Apps jobs host the long-running, containerized video encoding workload on-demand and scale to zero after completion, avoiding idle costs.
Step-by-Step Solution
Key Concept
Selecting appropriate Azure hosting solutions based on execution limits, container support, deployment complexity, and cost-efficiency requirements.