App1 has the deploy...
 
Notifications
Clear all

App1 has the deployment slots shown in the following table:

1 Posts
1 Users
0 Likes
126 Views
 Ali
(@ferdigali)
Noble Member
Joined: 2 years ago
Posts: 698
Topic starter  

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 Answer Hide Answer

Suggested Answer: B

Explanation:

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.

You can validate 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 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.

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

   
Quote

Latest AZ-104 V1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: