0
0
Azurecloud~10 mins

Creating a web app 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 create a resource group in Azure CLI.

Azure
az group create --name [1] --location eastus
Drag options to blanks, or click blank then click option'
AWebAppGroup
BCreateGroup
CMyResourceGroup
DResourceZone
Attempts:
3 left
💡 Hint
Common Mistakes
Using invalid characters or spaces in the resource group name
Confusing the location parameter with the name
2fill in blank
medium

Complete the code to create an Azure App Service plan.

Azure
az appservice plan create --name [1] --resource-group MyResourceGroup --sku B1
Drag options to blanks, or click blank then click option'
AAppPlan1
BMyAppServicePlan
CServicePlanA
DPlanBasic
Attempts:
3 left
💡 Hint
Common Mistakes
Using the resource group name instead of the plan name
Using invalid characters in the plan name
3fill in blank
hard

Fix the error in the command to create a web app with the correct runtime stack.

Azure
az webapp create --resource-group MyResourceGroup --plan AppPlan1 --name MyWebApp --runtime [1]
Drag options to blanks, or click blank then click option'
Anode|14-lts
Bpython|3.8
Cdotnet|6
Djava|11
Attempts:
3 left
💡 Hint
Common Mistakes
Using an unsupported runtime string format
Choosing a runtime that does not match the app code
4fill in blank
hard

Fill both blanks to configure deployment source from a GitHub repository.

Azure
az webapp deployment source config --name MyWebApp --resource-group MyResourceGroup --repo-url [1] --branch [2]
Drag options to blanks, or click blank then click option'
Ahttps://github.com/azure-samples/nodejs-docs-hello-world
Bmain
Cmaster
Dhttps://github.com/user/repo
Attempts:
3 left
💡 Hint
Common Mistakes
Using an invalid URL format
Confusing branch names
5fill in blank
hard

Fill all three blanks to set environment variables for the web app.

Azure
az webapp config appsettings set --name MyWebApp --resource-group MyResourceGroup --settings [1]=[2] [3]=production
Drag options to blanks, or click blank then click option'
AENVIRONMENT
Bdevelopment
CMODE
Dstaging
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping variable names and values
Using invalid variable names