AZ400-Q: minimize App Service deployment downtime

A web app must receive a new version with minimal user disruption and a fast return to the prior version if health checks fail. Which Azure App Service pattern best supports this?

  • A) Stop the production app, overwrite its files, and restart it.
  • B) Deploy to a staging slot, validate it, swap with production, and swap back if the release fails health criteria. ✓
  • C) Add a public IP address to every instance.
  • D) Use a storage lifecycle policy.

Answer: B. Deployment slots support staged validation and controlled swap/rollback, a practical blue-green-style pattern for App Service.

Why not the others: In-place downtime and ad hoc overwrite make rollback slower. Networking/storage controls do not create a release strategy.

deployment-slots · blue-green-deployment · rollback-strategy