Medium1 markMultiple Choice
Domain 4.1: Design a compute solutionDomain 4ComputeAzure FunctionsServerless

AZ-305 · Question 40 · Domain 4.1: Design a compute solution

You are designing a serverless architecture using Azure Functions.

The function will process images uploaded to Blob Storage. The processing logic takes approximately 8 minutes to execute per image. The workload is highly variable, ranging from 0 to 1,000 images per hour. You need to ensure the function scales automatically based on demand, but you also need to avoid 'cold starts' because the application requires immediate processing when an image is uploaded.

Which Azure Functions hosting plan should you recommend?

Answer options:

A.

Premium plan

B.

Consumption plan

C.

Dedicated (App Service) plan

D.

Azure Container Instances

How to approach this question

Evaluate the constraints: >5 min execution time, no cold starts, automatic scaling. The Premium plan is the only one that meets all three.

Full Answer

A.Premium plan✓ Correct
The Azure Functions Premium plan provides features like VNet integration, no cold starts (via pre-warmed instances), and unbounded execution duration (guaranteed 60 minutes, compared to the Consumption plan's 10-minute hard limit). It scales automatically based on demand, making it perfect for variable workloads that require immediate execution and long processing times.

Common mistakes

Choosing the Consumption plan, forgetting that it suffers from cold starts and has a strict execution timeout limit.

Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 1

55 questions · hints · full answers · grading

More questions from this exam