AZ-305 Azure Compute Solutions Design 1 — Questions and Answers
Question 1: You need to design a containerized microservices application that automatically scales based on HTTP request load and has no infrastructure to manage. Which Azure service is most appropriate?
- Azure Kubernetes Service (AKS)
- Azure Container Instances (ACI)
- Azure Container Apps (Correct answer)
- Azure App Service with containers
Correct answer: Azure Container Apps
Azure Container Apps is a fully managed serverless container platform built on Kubernetes/KEDA that scales to zero and scales out based on HTTP or event triggers.
Question 2: Your organization runs a Windows workload that requires full control over the OS, custom kernel modules, and specific hardware configurations. Which Azure compute option is appropriate?
- Azure App Service
- Azure Functions Premium
- Azure Virtual Machines with a custom image (Correct answer)
- Azure Container Instances
Correct answer: Azure Virtual Machines with a custom image
Azure Virtual Machines provide full OS-level control, support custom images, and allow specific hardware configurations including specialized VM sizes.
Question 3: An application needs to run a batch processing job once per night that processes data for exactly 30 minutes and then stops. Which Azure compute option minimizes cost?
- Azure VM running continuously
- Azure Functions Consumption plan with a timer trigger (Correct answer)
- Azure Batch
- Azure App Service Basic tier
Correct answer: Azure Functions Consumption plan with a timer trigger
Azure Functions Consumption plan bills only for the time the function runs, making it extremely cost-efficient for short-duration, scheduled batch jobs.
Question 4: You need to host a stateful microservice that requires persistent storage volumes, custom scheduling, and runs multiple replicas with automatic restarts. Which service is best suited?
- Azure Container Instances
- Azure Kubernetes Service (AKS) (Correct answer)
- Azure Functions Durable Functions
- Azure Logic Apps
Correct answer: Azure Kubernetes Service (AKS)
AKS provides full Kubernetes orchestration including StatefulSets with persistent volumes, pod scheduling controls, and self-healing with restart policies.
Question 5: A .NET web application needs auto-scaling, SSL termination, custom domain support, and deployment slots for zero-downtime releases. Which Azure service should you use?
- Azure Virtual Machines with IIS
- Azure App Service (Correct answer)
- Azure Container Apps
- Azure Spring Apps
Correct answer: Azure App Service
Azure App Service provides built-in auto-scaling, SSL, custom domains, and deployment slots for blue-green or canary deployments without managing infrastructure.
Question 6: You need to run a large-scale parallel simulation workload that requires thousands of VMs to run for a few hours. Which Azure service is designed for this HPC scenario?
- Azure Virtual Machine Scale Sets
- Azure Batch (Correct answer)
- Azure Kubernetes Service with node auto-provisioner
- Azure App Service Premium
Correct answer: Azure Batch
Azure Batch manages pools of VMs specifically for large-scale parallel and HPC workloads, handling job scheduling, VM provisioning, and automatic scaling.
You need to design a containerized microservices application that automatically scales based on HTTP request load and has no infrastructure to manage.
Which Azure service is most appropriate?