exam questions

Exam 70-462 All Questions

View all questions & answers for the 70-462 exam

Exam 70-462 topic 2 question 45 discussion

Actual exam question from Microsoft's 70-462
Question #: 45
Topic #: 2
[All 70-462 Questions]

You administer a Microsoft 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_Reporting FROM DISK = 'D:\Orders.bak
  • B. BACKUP DATABASE Orders TO DISK = 'D:\Orders.bak' CREATE DATABASE Orders_Reporting FROM 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 🗳️

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
mickeygeorge
4 years, 5 months ago
Maybe it is possible that C. is the correct answer. According to post I saw.Its states the below in Azure. The database copy process is asynchronous, which means the database copy command returns immediately and you don't need an active connection while copying since the actual copy is done by SQL Azure in the background. The command below creates an exact copy of your source database with same edition and maximum database size. --Script #1 - Creating a database copy CREATE DATABASE AdventureWorksCopy AS COPY OF AdventureWorks GO
upvoted 1 times
...
Awoke
4 years, 5 months ago
C: cannot be the answer, since the statement 'Create database Orders_Reporting As copy of Orders' simply creates a new database that is not the same as the Azure database Orders . I think the answer should be A.
upvoted 1 times
...
Dadi
4 years, 10 months ago
Does SQL have a syntax like 'CREATE DATABASE Orders_Reporting AS COPY OF Orders' Isn't the answer A
upvoted 1 times
MIKU8735_0968
4 years, 6 months ago
If you are using SQL AZURE, the option on Answer C is Available to you.
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 ...