nerdexam
Microsoft

DP-300 · Question #202

Drag and Drop Question You have an Azure subscription that contains the resources shown in the following table. You need to back up db1 to mysqlbackups, and then restore the backup to a new database n

Sign in or unlock DP-300 to reveal the answer and full explanation for question #202. The question stem and answer options stay visible for context.

Submitted by dimitri_ru· Mar 6, 2026Plan and configure a high availability and disaster recovery (HA/DR) environment

Question

Drag and Drop Question You have an Azure subscription that contains the resources shown in the following table. You need to back up db1 to mysqlbackups, and then restore the backup to a new database named db2 that is hosted on SQL1. The solution must ensure that db1 is backed up to a stripe set. Which three Transact-SQL statements should you execute in sequence? To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order. Answer:

Exhibits

DP-300 question #202 exhibit 1
DP-300 question #202 exhibit 2

Answer Area

Drag items

RESTORE DATABASE db2 FROM URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_1.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_2.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_3.bak' WITH CREDENTIAL = 'sqlbackup', RECOVERY, MOVE 'db1_data' TO 'D:\data\db2_mdf.mdf', MOVE 'db1_log' TO 'D:\logs\db2_log.ldf' GOBACKUP DATABASE db1 TO URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_1.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_2.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_3.bak' WITH FORMAT, STATS = 10, CREDENTIAL = 'sqlbackup'; GORESTORE DATABASE db2 FROM URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_1.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_2.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_3.bak' WITH NORECOVERY, MOVE 'D:\data\db1_mdf.mdf' TO 'D:\data\db2_mdf.mdf', MOVE 'D:\logs\db1_log.ldf' TO 'D:\logs\db2_log.ldf' GOCREATE CREDENTIAL [sqlbackup] WITH IDENTITY = 'SHARED ACCESS SIGNATURE', SECRET = '<SAS_TOKEN>' GOBACKUP DATABASE db1 TO URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_1.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_2.bak', URL = 'https://mysqlbackups.blob.core.windows.net/backups/db1_3.bak' WITH FORMAT, STATS = 10, CREDENTIAL = 'sqlbackup' GOCREATE CREDENTIAL [sqlbackup] WITH IDENTITY = 'sqlexamplebackup', SECRET = 'mystorageaccountaccesskey'; GO

Unlock DP-300 to see the answer

You've previewed enough free DP-300 questions. Unlock DP-300 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#SQL Server Backup to URL#Database Restore#Azure Blob Storage#SQL Server Credential
Full DP-300 Practice