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

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 29 discussion

Actual exam question from Microsoft's AZ-104
Question #: 29
Topic #: 4
[All AZ-104 Questions]

You have an app named App1 that runs on an Azure web app named webapp1.
The developers at your company upload an update of App1 to a Git repository named Git1.
Webapp1 has the deployment slots shown in the following table.

You need to ensure that the App1 update is tested before the update is made available to users.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Swap the slots
  • B. Deploy the App1 update to webapp1-prod, and then test the update
  • C. Stop webapp1-prod
  • D. Deploy the App1 update to webapp1-test, and then test the update
  • E. Stop webapp1-test
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sk1803
Highly Voted 3 years ago
Answer is correct. 1.Deploy the App to “webapp1-test” which is staging environment and test it there. 2.Once the test is success swap the slots, so the new changes will be available under production.
upvoted 101 times
Pear7777
1 year, 10 months ago
in that order, yes.
upvoted 5 times
...
Takloy
2 years, 10 months ago
Thanks! straight to the point!
upvoted 3 times
...
...
Shailesh866
Highly Voted 3 years ago
The answer is correct. - Deploying an app to a slot first(Test is this case) and swapping it into production makes sure that all instances of the slot are warmed up before being swapped into production. - After a swap, the slot with previously staged app now has the previous production app. If the changes swapped into the production slot aren't as you expect, you can perform the same swap immediately to get your "last known good site" back.
upvoted 19 times
...
SeMo0o0o0o
Most Recent 1 month ago
Selected Answer: AD
A & D are correct
upvoted 1 times
...
1828b9d
7 months, 1 week ago
This question was in exam 01/03/2024
upvoted 4 times
...
Amir1909
7 months, 3 weeks ago
A and D is correct
upvoted 2 times
...
MatAlves
8 months, 3 weeks ago
This is probably referring to "Swap with preview (multi-phase swap)", so no need to worry about going into production immediately after swapping the slots. Thus, A and D should do the work.
upvoted 1 times
...
CarlosMarin
1 year, 1 month ago
This question was in my exam on 31/08/2023.
upvoted 2 times
YomanB
1 year ago
this guy put this note in every question in site
upvoted 6 times
...
...
Mehedi007
1 year, 2 months ago
Selected Answer: AD
Deploy & test on the staging slot. Swap the slots. Passed the exam on 26 July 2023. Scored 870. Exact question came.
upvoted 5 times
...
itguyeu
1 year, 3 months ago
I used free version access for this site and it helped me pass the exam. Some questions that I had on the exams, I took the exam more than once, are not available under the free tier access, but 80% of the questions came from here. I do recommend investing a bit of money and getting full access to this site. I didn't memorise answers but analysed them and studied as Microsoft does tweak them a bit. This Q was on the exam.
upvoted 2 times
...
jamess
1 year, 5 months ago
If you swap the slots it puts the test into production. Question says to test before available to users.
upvoted 1 times
jamess
1 year, 5 months ago
Sorry disregard.
upvoted 1 times
...
...
NJTH
1 year, 6 months ago
Exactly the same question was on todays exam. (7th April 2023)
upvoted 4 times
...
AzZnLuVaBoI
1 year, 6 months ago
On the Exam 3/29/23.
upvoted 5 times
...
GBAU
1 year, 8 months ago
Ah, MS, where does it say the test passes? You might have just swapped a failed app into production according to this question/answer.
upvoted 3 times
...
Irism
1 year, 9 months ago
A & D, if you dont understand this question, dont even try the exam. just a tip
upvoted 1 times
RougePotatoe
1 year, 8 months ago
Bruh chill not everyone has a app development background.
upvoted 10 times
...
...
[Removed]
1 year, 9 months ago
This was on my 2nd test
upvoted 2 times
...
majerly
2 years ago
today in exam AD
upvoted 5 times
...
NaoVaz
2 years ago
Selected Answer: AD
D) " Deploy the App1 update to webapp1-test, and then test the update" & A) " Swap the slots" Reference: https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 10 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 ...