Courseiva

DP-300 Practice Question: Plan and configure a high availability and disaster recovery environment

Exhibit

Refer to the exhibit.

```powershell
Get-AzSqlDatabaseGeoBackup -ResourceGroupName "rg1" -ServerName "sqlserver1" -DatabaseName "db1" | Restore-AzSqlDatabase -FromGeoBackup -TargetResourceGroupName "rg2" -TargetServerName "sqlserver2" -TargetDatabaseName "db1-restored"
```

You are preparing a disaster recovery runbook. You plan to use the PowerShell command shown in the exhibit to restore a database to a different region. What must be true for this command to succeed?

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

The source database must have geo-redundant backup storage configured.

The Restore-AzSqlDatabase cmdlet with the -FromGeoBackup parameter requires the source database to have geo-redundant backup storage (also known as geo-redundant storage) enabled. This allows restoration from geographically replicated backups. Option B is incorrect because point-in-time restore is not required for a geo-restore; geo-restore uses the geo-redundant backup independently. Option C is incorrect because the source database does not need to be online at the time of restoration; geo-backups are stored in Azure storage and are available even if the source database is offline. Option D is incorrect because the purpose of geo-restore is to restore to a different region; therefore, the target server can be in a different region than the source.

Answer analysis

Option-by-option breakdown

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

  • The source database must have geo-redundant backup storage configured.

    Why this is correct

    Required for geo-restore.

  • The source database must have point-in-time restore enabled.

    Why it's wrong here

    Not required for geo-restore.

  • The source database must be online at the time of restoration.

    Why it's wrong here

    Geo-backups exist even if database is offline.

  • The target server must be in the same region as the source server.

    Why it's wrong here

    Geo-restore restores to a different region.

About these practice questions

One of 906 original DP-300 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-300 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 DP-300 exam.