Perform a Swap to move it into Production with zero downtime. Example (YAML): - task: AzureWebApp@1 inputs:?
Short answer: zureSubscription: 'MyServiceConnection' ppName: 'my-webapp' deployToSlotOrASE: true resourceGroupName: 'my-rg' slotName: 'staging' Then use: task: AzureAppServiceManage@0 inputs: ction: 'Swap Slots' SourceSlot: 'staging' ResourceGroupName: 'my-rg' WebAppName: 'my-webapp' 7⃣ How do you perform rollback in case of a failed deployment? There are several ways:
Real-world example (ShopNest)
ShopNest’s YAML pipeline builds on every PR, runs unit tests, then deploys to a staging slot on main-branch merges.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png