Complete the code to select the Azure Function plan that avoids cold starts.
az functionapp plan create --name myPlan --resource-group myResourceGroup --location eastus --sku [1]The Premium plan in Azure Functions helps avoid cold starts by keeping instances warm.
Complete the code to enable pre-warmed instances in the Premium plan.
az functionapp plan update --name myPlan --resource-group myResourceGroup --min-instances [1]Setting min-instances to 1 pre-warms one instance to reduce cold start delays.
Fix the error in the command to create a Premium plan with 2 pre-warmed instances.
az functionapp plan create --name myPlan --resource-group myResourceGroup --location eastus --sku [1] --min-instances [2]
The SKU must be Premium to support pre-warmed instances, and min-instances sets how many are pre-warmed.
Fill both blanks to configure an Azure Function app to use the Premium plan and enable Always On.
az functionapp create --name myFunctionApp --resource-group myResourceGroup --plan [1] --runtime python --functions-version 4 && az functionapp config set --name myFunctionApp --resource-group myResourceGroup --always-on [2]
Use the Premium plan name and set Always On to true to avoid cold starts.
Fill all three blanks to create a Premium plan, set pre-warmed instances, and deploy a function app using it.
az functionapp plan create --name [1] --resource-group myResourceGroup --location eastus --sku [2] --min-instances 3 && az functionapp create --name myFunctionApp --resource-group myResourceGroup --plan [3] --runtime node --functions-version 4
Create a Premium plan named premiumPlanX with 3 pre-warmed instances, then deploy the function app using that plan.