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-104 topic 4 question 59 discussion

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

You have an Azure web app named App1. App1 has the deployment slots shown in the following table:

In webapp1-test, you test several changes to App1.
You back up App1.
You swap webapp1-test for webapp1-prod and discover that App1 is experiencing performance issues.
You need to revert to the previous version of App1 as quickly as possible.
What should you do?

  • A. Redeploy App1
  • B. Swap the slots
  • C. Clone App1
  • D. Restore the backup of App1
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
When you swap deployment slots, Azure swaps the Virtual IP addresses of the source and destination slots, thereby swapping the URLs of the slots. We can easily revert the deployment by swapping back.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
fedztedz
Highly Voted 3 years, 4 months ago
Correct Swap slots. this is advantage of using slots. where each slot has its own host name while the app content and configuration elements are the one who are swapped. this is done seamlessly for traffic direction and no requests are dropped or downtime happens.
upvoted 62 times
solomonmana
2 years, 3 months ago
Correct
upvoted 6 times
...
Indy429
4 months ago
Good explanation. To the point
upvoted 1 times
...
...
mlantonis
Highly Voted 2 years, 11 months ago
Correct Answer: B When you swap deployment slots, Azure swaps the Virtual IP addresses of the source and destination slots, thereby swapping the URLs of the slots. We can easily revert the deployment by swapping back. Deployment slots are live apps with their own host names. App content and configurations elements can be swapped between two deployment slots, including the production slot. Deploying your application to a non-production slot has the following benefits: 1. You can validate app changes in a staging deployment slot before swapping it with the production slot. 2. 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. Reference: https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 60 times
...
tashakori
Most Recent 1 month ago
B is right
upvoted 1 times
...
1828b9d
1 month, 2 weeks ago
This question was in exam 01/03/2024
upvoted 1 times
...
Jessica_az
8 months, 3 weeks ago
on the exam 31 Jul 2023
upvoted 2 times
...
AzZnLuVaBoI
1 year ago
On the Exam 3/29/23.
upvoted 5 times
...
shadad
1 year, 1 month ago
Selected Answer: B
I took Exam of Azure- 104 at 27/2/2023 I score 920 points out of 1000 points. This was on it and my answer was: B
upvoted 3 times
...
zellck
1 year, 2 months ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/app-service/deploy-staging-slots#roll-back-a-swap If any errors occur in the target slot (for example, the production slot) after a slot swap, restore the slots to their pre-swap states by swapping the same two slots immediately.
upvoted 2 times
...
RougePotatoe
1 year, 2 months ago
"If any errors occur in the target slot (for example, the production slot) after a slot swap, restore the slots to their pre-swap states by swapping the same two slots immediately." https://learn.microsoft.com/en-us/azure/app-service/deploy-staging-slots#roll-back-a-swap
upvoted 1 times
...
majerly
1 year, 6 months ago
today in exam , is B
upvoted 1 times
...
EmnCours
1 year, 8 months ago
Selected Answer: B
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 2 times
...
Lazylinux
1 year, 10 months ago
Selected Answer: B
I Luv Honey Because it is B Swap slots, this is Beauty of using slots. you can test at ease and as please
upvoted 2 times
...
manalshowaei
1 year, 10 months ago
Selected Answer: B
B. Swap the slots
upvoted 2 times
...
babzbabz
1 year, 11 months ago
Came on exam today (24/05-2022)
upvoted 1 times
...
dasEnder
1 year, 11 months ago
Selected Answer: B
Correct Answer
upvoted 2 times
...
Dobby25
2 years, 1 month ago
Received this on my exam today 19/03/2022
upvoted 3 times
...
InvisibleShadow
2 years, 1 month ago
This question came in the exam today 8/Mar/2022. I passed the exam, 95% questions came from here.
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 ...