Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-204 topic 2 question 14 discussion

Actual exam question from Microsoft's AZ-204
Question #: 14
Topic #: 2
[All AZ-204 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:
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
Reference:
https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-deploy-staging-environment

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sskPL
Highly Voted 3 years, 4 months ago
Given answer is correct.
upvoted 195 times
130nk3r5
2 months, 3 weeks ago
Got this today. Went with answer here. Score 927
upvoted 4 times
...
...
Harshad_Mehta
Highly Voted 3 years, 4 months ago
why do you guys have to comment if the answer is correct.
upvoted 34 times
AhmedAbdelAziz
1 month, 3 weeks ago
We all here bro for the community and the discussion I got a lot of knowledge from the community regardless the QA
upvoted 2 times
...
azurelearner666
2 years, 9 months ago
you commented too as well, right? ;)
upvoted 13 times
DonH
9 months, 3 weeks ago
No, he asked a valid question. @thomas204 gave a valid answer. I also agree on that. Some answers are wrong so it's satisfying to read the comments when an answer is correct, just to be on the safe side.
upvoted 1 times
...
...
thomas204
3 years, 4 months ago
Because some answers are wrong and commenting when correct is just comforting for others.
upvoted 241 times
thebarber87
12 months ago
So vote. It is annoying when a question has 80 comments on it but they're just all answer is correct.
upvoted 1 times
...
azurelearner666
2 years, 9 months ago
Agree! love this site because of the community and the discussions. they also help to understand the reasoning!!
upvoted 39 times
lasyan3
2 years, 6 months ago
Totally agreed, thanks to all the community members :)
upvoted 11 times
...
macobuzi
7 months, 2 weeks ago
Yes, many dump test websites have these questions but I still had to move to this site for the community!
upvoted 2 times
Ciupaz
4 months, 3 weeks ago
Me too.
upvoted 1 times
...
...
...
...
...
bgbgvfvf
Most Recent 3 months ago
The given solution is correct
upvoted 1 times
...
Vukile
4 months, 2 weeks ago
On exam 9 Nov 2023, went with given answer, socre 865. Case Study: Farmers and Distributors
upvoted 1 times
Ciupaz
4 months ago
Is this a new Case Study?
upvoted 1 times
...
...
NPE_
4 months, 3 weeks ago
Got this on the exam Nov. 07 2023
upvoted 1 times
...
nlk0
7 months ago
Got this today 26/08/2023, went with the given. 880 Case study was contoso -> 9 questions + 35 question, two series. 3 of them were not from examptopics, all others were
upvoted 2 times
...
MysticalSam
9 months, 3 weeks ago
This question was in today's exam at 10-June-2023
upvoted 4 times
...
Videira
1 year ago
On my exam 2023-02-25
upvoted 4 times
...
70PineApple
1 year, 1 month ago
Got this in exam today..20/02/23 score: 817
upvoted 4 times
...
saravanasanthosh
1 year, 2 months ago
Got this on 12/30/2022 exam. The given solution is correct
upvoted 2 times
...
kociuba
1 year, 2 months ago
got it on my exam 30-12-2022 score: 818
upvoted 3 times
...
Suwani
1 year, 3 months ago
Given answer is correct
upvoted 1 times
...
mdg3501
1 year, 3 months ago
got this on 2022-12-7
upvoted 1 times
...
TheExamMaster2020
1 year, 4 months ago
Did my exam on 15th November 2022. This question was on it.
upvoted 2 times
...
rol204
1 year, 5 months ago
Box 1: group # Create a resource group. Box 2: appservice plan # Create an App Service plan in STANDARD tier (minimum required by deployment slots) Box 3: webapp # Create a web app Box 4: webapp deployment slot #Create a deployment slot with the name "staging" Box 5: webapp deployment source # Deploy sample code to "staging" slot from GitHub
upvoted 3 times
...
Anitay
1 year, 6 months ago
Answers are correct...
upvoted 1 times
...
Elsheimy
1 year, 10 months ago
On exam, 05/22
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 ...