exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 2 question 11 discussion

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

HOTSPOT -
A company is developing a Java web app. The web app code is hosted in a GitHub repository located at https://github.com/Contoso/webapp.
The web app must be evaluated before it is moved to production. You must deploy the initial code release to a deployment slot named staging.
You need to create the web app and deploy the code.
How should you complete the commands? 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: group -
# Create a resource group.
az group create --location westeurope --name myResourceGroup

Box 2: appservice plan -
# Create an App Service plan in STANDARD tier (minimum required by deployment slots). az appservice plan create --name $webappname --resource-group myResourceGroup --sku S1

Box 3: webapp -
# Create a web app.
az webapp create --name $webappname --resource-group myResourceGroup \
--plan $webappname

Box 4: webapp deployment slot -
#Create a deployment slot with the name "staging".
az webapp deployment slot create --name $webappname --resource-group myResourceGroup \
--slot staging

Box 5: webapp deployment source -
# Deploy sample code to "staging" slot from GitHub.
az webapp deployment source config --name $webappname --resource-group myResourceGroup \
--slot staging --repo-url $gitrepo --branch master --manual-integration
References:
https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-deploy-staging-environment

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
heero
Highly Voted 5 years, 3 months ago
https://vceguide.com/wp-content/uploads/2019/10/Microsoft-AZ-203-date-01-06-2019-00001_Page_065_Image_0001.jpg
upvoted 36 times
...
malawneh
Highly Voted 4 years, 10 months ago
I passed today with score 860, i got this in my exam. My answer was: group create service plan creae webapp create webapp deployment slot webapp deployment source
upvoted 25 times
GokuUI
4 years, 8 months ago
on point!
upvoted 1 times
...
...
Steve_az
Most Recent 4 years, 10 months ago
https://vceguide.com/how-should-you-complete-the-commands-3/
upvoted 3 times
...
MuhamedHaneesh
5 years, 3 months ago
Someone please post the options
upvoted 2 times
JulienYork
4 years, 5 months ago
can't you google by yourself but asking from someone else? You may not find someone to google for you all the time, copy some part of the question and google it.. This is all other people do when you ask for the options.. you do not need someone to search for you. You can do by yourself
upvoted 2 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 ...