exam questions

Exam 70-765 All Questions

View all questions & answers for the 70-765 exam

Exam 70-765 topic 3 question 49 discussion

Actual exam question from Microsoft's 70-765
Question #: 49
Topic #: 3
[All 70-765 Questions]

You administer a Windows Azure SQL Database database named Orders.
You need to create a copy of Orders named Orders_Reporting.
Which Transact-SQL command should you use?

  • A. BACKUP DATABASE Orders TO DISK = 'D:\Orders.bak'RESTORE DATABASE Orders_ReportingFROM DISK = 'D:\Orders.bak
  • B. BACKUP DATABASE Orders TO DISK = 'D:\Orders.bak'CREATE DATABASE Orders_ReportingFROM DISK = 'D:\Orders.bak
  • C. CREATE DATABASE Orders_Reporting AS COPY OF Orders
  • D. BACKUP DATABASE Orders TO DISK = 'D:\Orders.bak'MIRROR TO DISK = 'Orders_Reporting
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
BACKUP DATABASE AS COPY OF [source_server_name.]source_database_name
Is used for copying a database to the same or a different SQL Database server.
References:
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-database-azure-sql-database

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RohitRaj2311
4 years, 7 months ago
C is correct. Tested just now. https://www.mssqltips.com/sqlservertip/2235/creating-backups-and-copies-of-your-sql-azure-databases/#:~:text=To%20create%20a%20copy%2C%20use,DatabaseName.
upvoted 3 times
mickeyisacat615
4 years, 5 months ago
Agreed. Connected to Azure Database from ssms, tested the command.
upvoted 1 times
...
...
Slava_bcd81
4 years, 7 months ago
-"CREATE DATABASE Orders_Reporting AS COPY OF Orders" - doesnt work -the A seems correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago