ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 199 - AZ-104 discussion

Report
Export

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 GUI.

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.
Stop webapp1 prod.
Answers
A.
Stop webapp1 prod.
B.
Stop webapp1-test
Answers
B.
Stop webapp1-test
C.
Deploy the App1 update to webapp1-test, and then test the update.
Answers
C.
Deploy the App1 update to webapp1-test, and then test the update.
D.
Deploy the App1 update to webapp1-prod, and then test the update.
Answers
D.
Deploy the App1 update to webapp1-prod, and then test the update.
E.
Swap the slots.
Answers
E.
Swap the slots.
Suggested answer: C, E

Explanation:

You can validate web app changes in a staging deployment slot before swapping it with the production slot. Deploying an app to a slot first and swapping it into production makes sure that all instances of the slot are warmed up before being swapped into production. This eliminates downtime when you deploy your app. The traffic redirection is seamless, and no requests are dropped because of swap operations. You can automate this entire workflow by configuring auto swap when pre-swap validation isn't needed.

After the swap you can deploy the App1 update to webapp1-test, and then test the update. If the changes swapped into the production slot aren't as per your expectation then you can perform the same swap immediately to get your "last known good site" back.

Reference:

https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots

asked 26/09/2024
bijay ghimire
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first