exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 30 discussion

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

HOTSPOT -
A company is developing a Node.js web app. The web app code is hosted in a GitHub repository located at https://github.com/TailSpinToys/webapp.
The web app must be reviewed before it is moved to production. You must deploy the initial code release to a deployment slot named review.
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: New-AzResourceGroup -
The New-AzResourceGroup cmdlet creates an Azure resource group.

Box 2: New-AzAppServicePlan -
The New-AzAppServicePlan cmdlet creates an Azure App Service plan in a given location

Box 3: New-AzWebApp -
The New-AzWebApp cmdlet creates an Azure Web App in a given a resource group

Box 4: New-AzWebAppSlot -
The New-AzWebAppSlot cmdlet creates an Azure Web App slot.
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroup?view=azps-2.3.2 https://docs.microsoft.com/en-us/powershell/module/az.websites/new-azappserviceplan?view=azps-2.3.2 https://docs.microsoft.com/en-us/powershell/module/az.websites/new-azwebapp?view=azps-2.3.2 https://docs.microsoft.com/en-us/powershell/module/az.websites/new-azwebappslot?view=azps-2.3.2

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
AndresMza
Highly Voted 3 years, 8 months ago
Answer is correct
upvoted 87 times
...
mlantonis
Highly Voted 3 years, 5 months ago
Box 1: New-AzResourceGroup The New-AzResourceGroup cmdlet creates an Azure resource group. Box 2: New-AzAppServicePlan The New-AzAppServicePlan cmdlet creates an Azure App Service plan in a given location Box 3: New-AzWebApp The New-AzWebApp cmdlet creates an Azure Web App in a given a resource group Box 4: New-AzWebAppSlot The New-AzWebAppSlot cmdlet creates an Azure Web App slot.
upvoted 38 times
mlantonis
3 years, 5 months ago
Reference: https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroup?view=azps-2.3.2 https://docs.microsoft.com/en-us/powershell/module/az.websites/new-azappserviceplan?view=azps-2.3.2 https://docs.microsoft.com/en-us/powershell/module/az.websites/new-azwebapp?view=azps-2.3.2 https://docs.microsoft.com/en-us/powershell/module/az.websites/new-azwebappslot?view=azps-2.3.2
upvoted 8 times
...
...
bgbgvfvf
Most Recent 11 months ago
Answer is correct
upvoted 2 times
...
shekhar11
1 year, 2 months ago
Question in my exam on 22sept 2023
upvoted 3 times
...
Saluk_DE
1 year, 7 months ago
Question was in Exam 2023-03-30
upvoted 4 times
...
sarmaria
1 year, 8 months ago
Got this question in the exam on 16/03/2023. Went with proposed solution. Make sure to prepare for case studies. I got city and lights case study.
upvoted 2 times
...
Ayman99
1 year, 8 months ago
Was on the exam 27.02.2023
upvoted 2 times
...
70PineApple
1 year, 9 months ago
Got this in exam today..20/02/23 score: 817
upvoted 1 times
...
NombreFalso
1 year, 9 months ago
As vanilla as it gets
upvoted 1 times
...
menlapwa
1 year, 10 months ago
The answer make sense to me
upvoted 1 times
...
saravanasanthosh
1 year, 10 months ago
Got this on exam 12/30/2022
upvoted 1 times
...
SoftSol
1 year, 11 months ago
Correct, got this in the exam today dec 13, 2022
upvoted 1 times
uditrm12
1 year, 11 months ago
examtopic questions are enough to pass?
upvoted 1 times
...
...
coffecold
2 years, 1 month ago
Finally an easy to answer question, without bad wordings
upvoted 1 times
...
Eltooth
2 years, 5 months ago
ResourceGroup ServicePlan WebApp WebAppSlot
upvoted 2 times
...
petitbilly
2 years, 8 months ago
Got it in exam 03/22
upvoted 4 times
...
debanjan10
3 years, 1 month ago
Always: Resource Group / Group -> App Service Plan -> Web App -> Web App Slot -> Web App Source
upvoted 11 times
...
[Removed]
3 years, 5 months ago
There is another question similar to this one but with AzureCLI. But share the same structure.
upvoted 3 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 ...