0
0
Azurecloud~10 mins

Why PaaS simplifies deployment in Azure - Test Your Understanding

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

Complete the code to create a basic Azure App Service plan using PaaS.

Azure
az appservice plan create --name MyPlan --resource-group MyResourceGroup --sku [1]
Drag options to blanks, or click blank then click option'
APremiumV2
BStandard_LRS
CB1
DBasic_LRS
Attempts:
3 left
💡 Hint
Common Mistakes
Using storage account SKUs like Standard_LRS instead of App Service SKUs.
Choosing premium SKUs when a basic one is requested.
2fill in blank
medium

Complete the code to deploy a web app to the App Service plan.

Azure
az webapp create --resource-group MyResourceGroup --plan MyPlan --name MyUniqueAppName --runtime [1]
Drag options to blanks, or click blank then click option'
AWindows
Bnode|14-lts
CUbuntu
DSQLServer
Attempts:
3 left
💡 Hint
Common Mistakes
Using OS names like Ubuntu or Windows instead of runtime stacks.
Using database names like SQLServer as runtime.
3fill in blank
hard

Fix the error in the command to scale the App Service plan to 3 instances.

Azure
az appservice plan update --name MyPlan --resource-group MyResourceGroup --number-of-workers [1]
Drag options to blanks, or click blank then click option'
A3
Bworkers
Cscale
Dinstances
Attempts:
3 left
💡 Hint
Common Mistakes
Using strings like 'scale' or 'instances' instead of a numeric value.
Confusing parameter names with values.
4fill in blank
hard

Fill both blanks to configure continuous deployment from GitHub.

Azure
az webapp deployment source config --name MyUniqueAppName --resource-group MyResourceGroup --repo-url [1] --branch [2]
Drag options to blanks, or click blank then click option'
Ahttps://github.com/myuser/myrepo
Bmain
Cmaster
Dhttps://gitlab.com/myuser/myrepo
Attempts:
3 left
💡 Hint
Common Mistakes
Using a GitLab URL instead of GitHub.
Choosing 'master' when the repo uses 'main' branch.
5fill in blank
hard

Fill all three blanks to create an App Service with a custom startup command and enable HTTPS.

Azure
az webapp create --resource-group MyResourceGroup --plan MyPlan --name MyUniqueAppName --runtime [1] --startup-file [2] --https-only [3]
Drag options to blanks, or click blank then click option'
Apython|3.9
Bstartup.sh
Ctrue
Dfalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'false' for HTTPS when secure connections are needed.
Choosing an invalid runtime or missing startup file.