Drag steps to the numbered slots on the right, or tap a step then tap a slot.
AZ-104 Manage Azure Identities and Governance Practice Question
Order the steps to set up Azure Site Recovery for on-premises to Azure.
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
Step 1: Create a Recovery Services vault, Step 2: Configure source and target settings, Step 3: Install the Mobility service agent on on-premises machines, Step 4: Enable replication, Step 5: Test failover
The correct sequence for setting up Azure Site Recovery for on-premises to Azure is: create a Recovery Services vault, configure source and target settings, install the Mobility service agent on on-premises machines, enable replication, and then test failover. This order ensures prerequisites are met and replication is active before testing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Step 1: Create a Recovery Services vault, Step 2: Configure source and target settings, Step 3: Install the Mobility service agent on on-premises machines, Step 4: Enable replication, Step 5: Test failover
Why this is correct
The Recovery Services vault must exist first because it stores replication configuration and credentials needed by the Mobility service. Configuring source and target settings defines the replication topology and identifies the vault registration endpoint. Installing the Mobility service agent on each on-premises machine requires the vault registration to occur; after registration, replication can be enabled. Only after replication is healthy can a test failover validate the recovery plan without impacting production.
- ✗
Step 1: Install the Mobility service agent on on-premises machines, Step 2: Create a Recovery Services vault, Step 3: Configure source and target settings, Step 4: Enable replication, Step 5: Test failover
Why it's wrong here
Installing the Mobility service agent before creating a Recovery Services vault is invalid because the agent must be registered to a vault during installation; without the vault, there are no credentials or configuration server details to connect to. After installation, you cannot retroactively register the agent to a vault without reinstalling or reconfiguring it. Thus vault creation and source/target configuration must happen first to provide the registration endpoint and replication infrastructure.
- ✗
Step 1: Create a Recovery Services vault, Step 2: Configure source and target settings, Step 3: Enable replication, Step 4: Install the Mobility service agent on on-premises machines, Step 5: Test failover
Why it's wrong here
You cannot enable replication before the Mobility service agent is installed on each on-premises machine because Azure Site Recovery relies on that agent to communicate with the configuration server and to perform initial replication of the virtual disks. Without the agent, the machine is not discoverable, and no replication health is reported. The agent installation is a prerequisite step that must be completed after source/target settings but before enabling the replication policy.
- ✗
Step 1: Create a Recovery Services vault, Step 2: Configure source and target settings, Step 3: Install the Mobility service agent on on-premises machines, Step 4: Test failover, Step 5: Enable replication
Why it's wrong here
Testing failover before enabling replication is logically impossible because a test failover requires an existing replication relationship with a synchronized recovery point. Since replication has not been enabled, the source machine has never been copied to the target, so there is nothing to fail over to. Enabling replication must be the fourth step, and test failover the final validation step only after initial replication is healthy.
Go deeper
Related to this question
Learn chapter
Managed Identities for Azure Resources
Key term
Site Recovery
Site Recovery is the process of restoring IT infrastructure and data at a different physical location after a disaster to keep business operations running.
Key term
Failover
Failover is the automatic switching to a backup system when the primary system fails, ensuring continuous operation and minimal downtime.
About these practice questions
One of 1,049 original AZ-104 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-104 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-104 exam.