Soru

Zorluk: OrtaServerless and Web Application Hosting

A financial services company is designing a serverless backend for an automated risk assessment platform. The platform requires two distinct processing workloads:

1. A customer risk scoring API that receives payload data, performs quick database lookups, and returns results in under 5 seconds. The API experiences unpredictable traffic spikes but must maintain sub-second response times by minimizing cold starts, and it must securely access a backend database using virtual network integration.
2. A nightly portfolio simulation engine that runs complex Monte Carlo simulations. Each simulation run takes approximately 25 minutes to execute, requires 4 vCPUs and 16 GB of memory, and must run on demand using containerized workloads without maintaining active server infrastructure or incurring significant operational management overhead when idle.

Which two Azure solutions should you recommend to host these workloads? (Select two.)

  1. Azure Functions on a Premium plan to host the customer risk scoring API.Cevap
  2. Azure Container Apps Jobs to run the portfolio simulation engine.Cevap
  3. C
    Azure Functions on a Consumption plan to run the portfolio simulation engine.
  4. D
    An Azure Kubernetes Service (AKS) cluster to run the portfolio simulation engine.

Cevap

Azure Functions on a Premium plan to host the customer risk scoring API, and Azure Container Apps Jobs to run the portfolio simulation engine.
The correct architecture uses Azure Functions on a Premium plan for the API because it supports pre-warmed instances to mitigate cold starts and supports regional virtual network integration. It uses Azure Container Apps Jobs for the simulation engine because Container Apps Jobs run containerized tasks to completion, allow custom CPU/memory shapes, run for durations exceeding 10 minutes (up to 24 hours), and scale to zero without the management overhead of an AKS cluster.

Adım Adım Çözüm

1
Evaluate the customer risk scoring API requirements.
The API requires rapid scaling, minimized cold starts (pre-warmed instances), and outbound virtual network integration.
Azure Functions on a Premium plan satisfies all these criteria while maintaining a serverless model.
2
Evaluate the portfolio simulation engine requirements.
The engine needs to run containerized simulations for 25 minutes with specific resource allocations (4 vCPUs and 16 GB memory) and scale to zero without high management overhead.
Azure Container Apps Jobs run containerized workloads to completion, support execution times up to 24 hours, allow custom CPU/memory shapes, and scale to zero without the overhead of AKS.

Anahtar Kavram

Selecting appropriate serverless hosting plans and container services based on execution timeouts, resource requirements, virtual network integration, and operational overhead.
Bu soruyu puanla