0
0
Azurecloud~10 mins

Function App creation in Azure - Interactive Code Practice

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

Complete the code to create a new Azure Function App using Azure CLI.

Azure
az functionapp create --resource-group myResourceGroup --consumption-plan-location westus --runtime python --name [1] --storage-account mystorageaccount
Drag options to blanks, or click blank then click option'
AstorageAccount
BmyFunctionApp
CresourceGroup
Dwestus
Attempts:
3 left
💡 Hint
Common Mistakes
Using the storage account name instead of the Function App name.
Confusing resource group name with Function App name.
2fill in blank
medium

Complete the code to specify the runtime stack for the Function App.

Azure
az functionapp create --resource-group myResourceGroup --consumption-plan-location westus --runtime [1] --name myFunctionApp --storage-account mystorageaccount
Drag options to blanks, or click blank then click option'
Ajava
Bnode
Cdotnet
Dpython
Attempts:
3 left
💡 Hint
Common Mistakes
Using an unsupported runtime value.
Mixing runtime with location or storage account.
3fill in blank
hard

Fix the error in the command to create a Function App with a consumption plan location.

Azure
az functionapp create --resource-group myResourceGroup --consumption-plan-location [1] --runtime python --name myFunctionApp --storage-account mystorageaccount
Drag options to blanks, or click blank then click option'
Aeastus2
Bmystorageaccount
CmyFunctionApp
DmyResourceGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using resource names instead of region names for location.
Confusing storage account or resource group names with location.
4fill in blank
hard

Fill both blanks to create a Function App with a specified runtime and storage account.

Azure
az functionapp create --resource-group myResourceGroup --consumption-plan-location westus --runtime [1] --name myFunctionApp --storage-account [2]
Drag options to blanks, or click blank then click option'
Apython
Bmystorageaccount
Cnode
DmyFunctionApp
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping runtime and storage account values.
Using the Function App name as storage account.
5fill in blank
hard

Fill all three blanks to create a Function App with a resource group, runtime, and storage account.

Azure
az functionapp create --resource-group [1] --consumption-plan-location eastus --runtime [2] --name myFunctionApp --storage-account [3]
Drag options to blanks, or click blank then click option'
AmyResourceGroup
Bpython
Cmystorageaccount
Dwestus
Attempts:
3 left
💡 Hint
Common Mistakes
Using location name as resource group.
Mixing runtime and storage account names.