Soru

Zorluk: ZorServerless and Web Application Hosting

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 1515 to 2020 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.)

  1. Azure Static Web Apps for the user portal frontendCevap
  2. Azure Container Apps jobs for the video encoding microserviceCevap
  3. C
    Azure Functions on a Consumption plan for the video encoding microservice
  4. D
    An Azure Kubernetes Service (AKS) cluster to host the video encoding microservice and the user portal frontend

Cevap

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.

Adım Adım Çözüm

1
Analyze the requirements for the user portal frontend, noting it is a static single-page application requiring global distribution, custom domains, and SSL.
Identify Azure Static Web Apps as the ideal choice because it natively provides global hosting via a content delivery network (CDN), automated SSL provisioning, and zero administrative overhead.
This minimizes operational costs and complexity compared to hosting static files on virtual machines, containers, or full App Service plans.
2
Analyze the video encoding microservice requirements, noting it is a containerized, run-to-completion task that runs for 1515 to 2020 minutes and must scale to zero when inactive.
Rule out Azure Functions on a standard Consumption plan due to its 1010-minute maximum execution limit.
Avoiding execution timeouts is a critical constraint for long-running batch processing workloads.
3
Evaluate hosting alternatives for the containerized workload to minimize operational overhead.
Select Azure Container Apps jobs over Azure Kubernetes Service (AKS) for the video encoding microservice.
Azure Container Apps jobs scale dynamically, scale to zero when not running, and avoid the complex orchestration overhead and infrastructure baseline costs associated with AKS.

Anahtar Kavram

Selecting appropriate Azure hosting solutions based on execution limits, container support, deployment complexity, and cost-efficiency requirements.
Bu soruyu puanla