Courseiva
Describe Azure architecture and servicesmediumMultiple ChoiceObjective-mapped

AZ-900 Describe Azure architecture and services Practice Question

A company develops a web API that runs on Azure App Service. The development team wants to deploy a new version of the API to a staging environment, run integration tests against it, and then gradually shift production traffic to the new version. If any issues are detected, they want to immediately roll back to the previous version without redeploying. Which Azure App Service feature should the team use to meet these requirements?

⚠ Common exam trap

It's easy for candidates to confuse Traffic Manager (a global DNS load balancer) with the slot-swapping feature of App Service, not realizing that Traffic Manager operates at a different layer and cannot perform in-place version staging or rollback within a single App Service instance.

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

Deployment slots

Deployment slots are separate, live environments within Azure App Service that allow you to stage a new version of your web API, run integration tests against it, and then swap it into production with zero downtime. The swap operation also enables instant rollback by swapping back to the previous slot, which preserves the old version without requiring a redeployment.

Answer analysis

Option-by-option breakdown

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

  • Deployment slots

    Why this is correct

    Deployment slots are separate app service instances with distinct hostnames that share the same production plan. You can deploy a build to a staging slot, run validation tests, and then perform a zero-downtime swap with the production slot. The swap is instant because the two slots' backend instances are swapped, and rollback is immediate by swapping again, making this the only listed feature that directly supports staged release and instant rollback.

  • Autoscale

    Why it's wrong here

    Autoscale is a horizontal scaling capability that adjusts the number of running instances based on CPU, memory, or scheduled rules. It maintains performance and cost efficiency by adding or removing instances but has no concept of environments or releases. Scaling out cannot stage a new version of your code, nor can it revert to the previous build, so it is unrelated to the deployment rollback requirement.

    When this WOULD be correct

    A question where the requirement is to automatically increase or decrease the number of App Service instances in response to changes in CPU load or request rate, without any need for version management or traffic routing.

  • Traffic Manager profiles

    Why it's wrong here

    Traffic Manager is a DNS-based traffic router that directs end-user traffic to endpoints hosted across different Azure regions or external locations. While you could weight traffic to a staging App Service slot for canary routing, Traffic Manager operates at the network level and is not an App Service feature. It does not manage the app lifecycle, perform warm-up swaps, or offer the same one-click rollback that deployment slots provide, making it an incorrect choice for a single-app staging workflow.

    When this WOULD be correct

    A company has web apps deployed in multiple Azure regions and wants to distribute traffic globally for low latency and high availability, with automatic failover if a region goes down. Traffic Manager would be the correct choice for global load balancing and regional failover.

  • Application Insights

    Why it's wrong here

    Application Insights embeds a software development kit or agent to collect telemetry such as requests, dependencies, and exceptions from your live app. It is a monitoring and diagnostics platform that helps you observe the health and performance of a deployment after it is live. However, it provides no mechanism to create a staging environment, control deployment traffic, or restore a prior version, so it cannot fulfill the stated staging and rollback scenarios.

    When this WOULD be correct

    A company wants to monitor the performance and detect issues in a web API after deployment, including tracking failed requests and exceptions. Application Insights would be the correct feature to provide real-time telemetry and diagnostics.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-900 exam frequently reuses these exact scenarios with slightly different constraints.

Deployment slotsCorrect answer

Why this is correct

Deployment slots are separate app service instances with distinct hostnames that share the same production plan. You can deploy a build to a staging slot, run validation tests, and then perform a zero-downtime swap with the production slot. The swap is instant because the two slots' backend instances are swapped, and rollback is immediate by swapping again, making this the only listed feature that directly supports staged release and instant rollback.

AutoscaleWrong answer — click to see why

Why this is wrong here

Autoscale adjusts the number of running instances based on load, but it does not support staging, gradual traffic shifting, or instant rollback to a previous version without redeployment.

★ When this WOULD be the correct answer

A question where the requirement is to automatically increase or decrease the number of App Service instances in response to changes in CPU load or request rate, without any need for version management or traffic routing.

Why candidates choose this

Candidates may confuse scaling with deployment strategies, thinking that autoscale can handle version updates by scaling up new instances, but it lacks traffic routing and rollback capabilities.

Traffic Manager profilesWrong answer — click to see why

Why this is wrong here

Traffic Manager profiles route traffic across different Azure regions or endpoints, not between deployment slots within a single App Service. They cannot perform gradual traffic shifting between app versions or instant rollback without redeployment.

★ When this WOULD be the correct answer

A company has web apps deployed in multiple Azure regions and wants to distribute traffic globally for low latency and high availability, with automatic failover if a region goes down. Traffic Manager would be the correct choice for global load balancing and regional failover.

Why candidates choose this

Candidates may confuse Traffic Manager's traffic routing capabilities with the slot-based traffic shifting feature of App Service, assuming it can handle gradual rollouts and rollbacks, but Traffic Manager operates at the DNS/region level, not within a single app's deployment slots.

Application InsightsWrong answer — click to see why

Why this is wrong here

Application Insights is a monitoring and diagnostics service, not a deployment or traffic routing feature. It cannot stage a new version, shift traffic, or roll back to a previous version.

★ When this WOULD be the correct answer

A company wants to monitor the performance and detect issues in a web API after deployment, including tracking failed requests and exceptions. Application Insights would be the correct feature to provide real-time telemetry and diagnostics.

Why candidates choose this

Candidates may confuse Application Insights' monitoring capabilities with the ability to detect issues during a staged rollout, but it does not manage traffic or deployments.

Analysis generated from the official AZ-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

About these practice questions

Courseiva writes every AZ-900 question from scratch — 981 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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-900 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-900 exam.