Question 317 — Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions
Your application needs to respond to high volumes of short-lived HTTP requests during peak hours but has little or no traffic during off-peak times. Which Azure compute option should you choose? (Select one answer).
Azure Virtual Machines with auto-scaling
Azure Kubernetes Service
Azure Container Instances
Azure Functions
Correct answers
Azure Functions
Explanations
Correct:
Azure Functions
Azure Functions are ideal for handling high volumes of short-lived HTTP requests during peak hours. They automatically scale based on demand and only charge for the time the code executes, making them cost-efficient for sporadic traffic.
Wrong:
Azure Virtual Machines with auto-scaling
While auto-scaling helps manage demand, VMs require infrastructure management and are less cost-effective for short-lived or sporadic traffic.
Azure Kubernetes Service
AKS is designed for managing large-scale containerized applications and is too complex for simple event-driven scenarios.
Azure Container Instances
While lightweight, Azure Container Instances still require resources to remain available and are less suitable for sporadic, high-volume requests.