You are designing a serverless background processing solution in Azure. The solution must run a data import job once daily. The job takes approximately 25 minutes to complete. You need to select an Azure Functions hosting option that supports this execution duration while minimizing cost and management overhead. Which hosting plan should you recommend?
- Azure Functions Premium planAnswer
- BAzure Functions Consumption plan
- CAzure Kubernetes Service (AKS) with system node pools
- DAzure Virtual Machines using Spot instances
Answer
Azure Functions Premium plan
The Azure Functions Premium plan is the correct choice because it supports a default execution duration of 30 minutes (which can be customized to be unlimited), satisfying the 25-minute requirement. It also offers dynamic scaling and avoids the administrative overhead of managing full virtual machines or Kubernetes clusters.
Step-by-Step Solution
Key Concept
Selecting appropriate Azure serverless compute options based on execution timeout and scaling requirements.