Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Plan for minimizing downtime during deployments by using load balancing, deployment slot usage and swap, and rolling deployments

A worked example

Single answer

A team runs a Windows web app using deployed application code, rather than a custom container, on an Azure App Service Standard plan. Its release pipeline pushes code to staging and then finishes. No person or pipeline step will initiate or complete a swap.

Each release must warm up in staging before automatic promotion to production. No separate validation approval is required.

Which deployment configuration meets these requirements?

Choose one answer
Why

Auto swap connects deployment to staging with automatic production promotion after warm-up. The Windows app uses application code, so the stated Linux and container exclusions do not apply.

  • Not correct: Use a manual swap from staging to production. A manual swap requires an explicit swap operation. Auto swap is the documented mechanism that performs promotion after a code push.
  • Not correct: Use swap with preview from staging to production. Swap with preview pauses the swap for validation; selecting this workflow does not provide the automatic promotion triggered by each code push.
  • Not correct: Deploy each release directly to the production slot. Direct production deployment bypasses the required source-slot warm-up and promotion workflow.
  • Correct: Enable auto swap from staging to production. For this supported app configuration, auto swap promotes each code push after warming the application in the source slot.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free