Free Microsoft Azure DP-300 Actual Exam Questions - Question 1 Discussion

Question No. 1

HOTSPOT You have an Azure SQL managed instance. You need to restore a database named DB1 by using Transact-SQL. Which command should you run? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. DP-300 practice exam questions

US
FN
Farhan N.
2026-02-17

B works since RESTORE isn’t supported on managed instances anyway.

0
SU
Shah U.
2026-02-14

I’d pick option B as well. Since managed instances don’t support RESTORE like on regular SQL Server, the way to restore is by creating a new database as a copy of a backup or existing database. The CREATE DATABASE AS COPY OF syntax fits this scenario perfectly because it’s designed for managed instances, letting you basically clone the DB without needing RESTORE commands. Definitely not A or C since those use RESTORE which isn’t supported here.

0
PO
Peter O.
2026-01-28

They don't allow RESTORE on managed instances, so option B fits better.

0
PO
Peter O.
2026-01-24

CREATE DATABASE DB1 AS COPY OF fits managed instance restore rules.

0
PO
Peter O.
2026-01-20

CREATE DATABASE DB1 AS COPY OF for managed instances only.

0
PO
Peter O.
2026-01-19

You can't use RESTORE DATABASE on managed instances, use CREATE DATABASE with AS COPY OF.

0
MV
Mark V.
2026-01-18

RESTORE DATABASE

0