0
0
Azurecloud~10 mins

Function pricing (consumption vs premium) in Azure - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to specify the Azure Function plan type for consumption pricing.

Azure
az functionapp create --resource-group myResourceGroup --name myFunctionApp --storage-account mystorage [1]
Drag options to blanks, or click blank then click option'
A--plan Basic
B--plan Premium
C--consumption-plan-location eastus
D--plan Dedicated
Attempts:
3 left
💡 Hint
Common Mistakes
Using --plan Premium or --plan Dedicated instead of --consumption-plan-location.
Omitting the plan parameter entirely.
2fill in blank
medium

Complete the code to create an Azure Function App using the Premium plan.

Azure
az functionapp create --resource-group myResourceGroup --name myPremiumFunction --storage-account mystorage --plan [1]
Drag options to blanks, or click blank then click option'
AConsumption
BmyPremiumPlan
CBasic
DFree
Attempts:
3 left
💡 Hint
Common Mistakes
Using Consumption plan parameters instead of Premium.
Selecting Basic or Free which are not valid for premium features.
3fill in blank
hard

Fix the error in the Azure CLI command to deploy a function app with consumption pricing.

Azure
az functionapp create --resource-group myResourceGroup --name myFuncApp --storage-account mystorage [1]
Drag options to blanks, or click blank then click option'
ABasic
BPremium
CDedicated
D--consumption-plan-location eastus
Attempts:
3 left
💡 Hint
Common Mistakes
Using --plan Premium or --plan Dedicated causes deployment errors.
Leaving the parameter empty.
4fill in blank
hard

Fill both blanks to configure an Azure Function App with Premium plan and enable VNET integration.

Azure
az functionapp create --resource-group myResourceGroup --name myFuncApp --storage-account mystorage --plan [1] --vnet-route-all-enabled [2]
Drag options to blanks, or click blank then click option'
AmyPremiumPlan
Btrue
Cfalse
DConsumption
Attempts:
3 left
💡 Hint
Common Mistakes
Using Consumption parameters which do not support VNET integration.
Setting VNET routing to false disables the feature.
5fill in blank
hard

Fill all three blanks to create a function app with consumption plan, specify runtime as Python, and enable application insights.

Azure
az functionapp create --resource-group myResourceGroup --name myFuncApp --storage-account mystorage --consumption-plan-location [1] --runtime [2] --application-insights [3]
Drag options to blanks, or click blank then click option'
APremium
Beastus
Cpython
DmyAppInsights
Attempts:
3 left
💡 Hint
Common Mistakes
Using Premium plan when consumption is required.
Specifying wrong runtime names.
Not enabling application insights.