exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 2 question 5 discussion

Actual exam question from Microsoft's AZ-203
Question #: 5
Topic #: 2
[All AZ-203 Questions]

HOTSPOT -
You are creating a CLI script that creates an Azure web app related services in Azure App Service. The web app uses the following variables:

You need to automatically deploy code from GitHub to the newly created web app.
How should you complete the script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer: Explanation
Box 1: az appservice plan create
The azure group creates command successfully returns JSON result. Now we can use resource group to create a azure app service plan

Box 2: az webapp create -
Create a new web app..

Box 3: --plan $webappname -
..with the serviceplan we created in step.

Box 4: az webapp deployment -
Continuous Delivery with GitHub. Example:
az webapp deployment source config --name firstsamplewebsite1 --resource-group websites--repo-url $gitrepo --branch master --git-token $token
Box 5: --repo-url $gitrepo --branch master --manual-integration
References:
https://medium.com/@satish1v/devops-your-way-to-azure-web-apps-with-azure-cli-206ed4b3e9b1

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hertino
Highly Voted 4 years, 10 months ago
Today I got 900, I had this question, my answer: az appservice plan create az webapp create --plan $webappname az webapp deployment - --repo-url $gitrepo --branch master --manual-integration
upvoted 19 times
Kainite
4 years, 10 months ago
Answer here: https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-deploy-github?toc=/cli/azure/toc.json
upvoted 9 times
...
...
gssicftohbcrcsgtjg
Highly Voted 5 years, 3 months ago
Options https://www.examtopics.com/assets/media/exam-media/02521/0009700001.png
upvoted 17 times
...
Nick_1
Most Recent 4 years, 11 months ago
Box 2 should be webapp create. Also, webapp name and plan name are the same, confusing...
upvoted 2 times
...
nikos2001
4 years, 11 months ago
The first option in all selection boxes should be "az webapp create" , not just "azure webapp" ? # Create a web app. az webapp create --name $webappname --resource-group myResourceGroup --plan $webappname
upvoted 7 times
...
crazymagi
5 years, 2 months ago
https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-deploy-github?toc=/cli/azure/toc.json
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...