Courseiva
Design and implement build and release pipelineshardMultiple ChoiceObjective-mapped

AZ-400 Practice Question: Design and implement build and release pipelines

You are designing a release pipeline for a critical application that must minimize downtime during deployment. The application runs on Azure Kubernetes Service (AKS) and uses Azure SQL Database. Which deployment strategy should you recommend?

⚠ Common exam trap

Many exam-takers choose rolling updates (Option A) because they assume health probes guarantee zero downtime, but they overlook the fact that rolling updates still involve a gradual transition that can cause brief unavailability or require complex rollback logic, whereas blue-green provides instant, atomic cutover with Traffic Manager.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Blue-green deployment with traffic manager.

Blue-green deployment with Traffic Manager is recommended because it allows you to maintain two identical environments (blue and green) and instantly switch traffic between them via Azure Traffic Manager. This minimizes downtime to the time it takes to update DNS or routing rules, and provides immediate rollback capability by switching back to the previous environment. For a critical application on AKS with Azure SQL Database, this strategy avoids the complexity of managing state during rolling updates and ensures zero-downtime cutover.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Rolling update with health probes.

    Why it's wrong here

    Rolling update with health probes gradually replaces old pods with new ones; however, if the new pods fail health checks, the deployment rolls back, but during the transition there can be periods where no healthy replica is available, causing brief downtime. It is not an instant switchover, as the update proceeds incrementally across the fleet.

  • Canary deployment with progressive exposure.

    Why it's wrong here

    Canary deployment with progressive exposure routes a small percentage of traffic to the new version, increasing it as validation succeeds. This technique is intended to reduce the risk of a faulty release rather than to minimize downtime for the entire application, because the old and new versions coexist and the final cutover is gradual, not instantaneous.

  • Blue-green deployment with traffic manager.

    Why this is correct

    Blue-green deployment with traffic manager provisions two identical environments, with the traffic manager routing 100% of traffic to the blue environment. At switchover, it instantly shifts traffic to the green environment by updating DNS/routing rules, and rollback is equally immediate, so downtime is reduced to seconds or less.

  • Recreate deployment by deleting the old version first.

    Why it's wrong here

    Recreate deployment by deleting the old version first terminates all old instances before provisioning new ones, creating a full outage from the start of the release until the new version's pods become healthy. This causes complete downtime and limits rollback to repeating the entire deployment cycle, making it the worst option for a critical application.

About these practice questions

This AZ-400 question is part of Courseiva's 823-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.