Question 709 of 997
Develop Azure compute solutionshardMultiple SelectObjective-mapped

Quick Answer

The answer is to deploy the app to two Azure App Service instances in paired regions, configure Azure Traffic Manager for automatic failover, and use deployment slots to test the failover. This combination works because paired regions within an Azure geography provide sequential updates and physical isolation, minimizing data loss during a regional outage, while Traffic Manager enables automatic, DNS-based routing to the healthy instance. Deployment slots are critical here because they allow you to point Traffic Manager to a staging slot for validation without swapping to production, meeting the requirement for non-disruptive testing. On the AZ-204 exam, this scenario tests your understanding of combining App Service high-availability patterns with Traffic Manager’s routing methods and slot-based testing—a common trap is assuming Azure SQL geo-replication alone covers stateless app failover. Memory tip: think “Paired regions + Traffic Manager + Slots” as the three pillars of a testable, zero-data-loss DR plan.

AZ-204 Develop Azure compute solutions Practice Question

This AZ-204 practice question tests your understanding of develop azure compute solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are deploying a critical application on Azure App Service. The application must be highly available across two Azure regions. You need to implement a disaster recovery strategy that meets the following requirements: automatic failover with minimal data loss, and the ability to test failover without affecting production. Which THREE actions should you perform?

Question 1hardmulti select
Full question →

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

Use deployment slots to test failover before making it active.

Option A is correct because deployment slots in Azure App Service allow you to create separate environments (e.g., staging) that can be swapped to production. This enables testing failover scenarios (like pointing Traffic Manager to the staging slot) without affecting the live production traffic, meeting the requirement for non-disruptive failover testing.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Use deployment slots to test failover before making it active.

    Why this is correct

    Slots allow you to swap and test without affecting production.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Configure the app to use active-passive database replication.

    Why it's wrong here

    Active-passive replication is not a pattern for App Service; it's for databases.

  • Configure Azure Traffic Manager with priority routing to fail over automatically.

    Why this is correct

    Traffic Manager with priority routing enables automatic failover.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Deploy both instances in the same App Service Plan.

    Why it's wrong here

    Same plan means single region; not highly available.

  • Deploy the app to two Azure App Service instances in paired regions.

    Why this is correct

    Paired regions provide low-latency replication and are a best practice for DR.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse deployment slots with actual cross-region failover, but slots are for in-place staging/testing within a single region, not for disaster recovery across regions—however, they are correctly used here to test the failover behavior before making it active.

Detailed technical explanation

How to think about this question

Azure Traffic Manager uses DNS-based traffic routing; with priority routing, you configure primary and secondary endpoints (the two App Service instances in paired regions). When the primary endpoint fails health checks (based on HTTP 200 responses), Traffic Manager automatically directs traffic to the secondary endpoint, achieving automatic failover with minimal data loss if the app is stateless or uses geo-replicated data stores.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-204 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-204 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-204 question test?

Develop Azure compute solutions — This question tests Develop Azure compute solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use deployment slots to test failover before making it active. — Option A is correct because deployment slots in Azure App Service allow you to create separate environments (e.g., staging) that can be swapped to production. This enables testing failover scenarios (like pointing Traffic Manager to the staging slot) without affecting the live production traffic, meeting the requirement for non-disruptive failover testing.

What should I do if I get this AZ-204 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-204 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-204 exam.