Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Perform a database restore to a point in time

A worked example

Complete the statement

At 14:20 UTC, an administrator ran DROP DATABASE against an Azure SQL Database named Inventory by mistake. The logical server that hosted Inventory still exists.

You must recover Inventory by using the Azure portal, with as little data loss as possible.

Complete the sentence that describes the recovery.

On the logical server's Deleted databases page, you select Inventory and enter a name for . The restored data reflects .

  • Blank 1: a new database that is created from the backup (correct answer)

    The name you enter is used for a new database that is created with data from the backup. Overwriting an existing database: restore in place is not supported. Exporting a backup file to Blob Storage: backup to URL is a SQL Managed Instance feature that SQL Database does not support, and it is not what this page does.

  • Blank 2: the database state at deletion (correct answer)

    Azure SQL Database takes a final transaction log backup before deletion, allowing you to recover the database state at deletion. The latest full or differential backup alone would omit subsequent changes captured in transaction log backups. Creation time is informational and does not meet the requirement to minimize data loss.

Why

Because the logical server still exists, the dropped database can be recovered from the server's Deleted databases page. A final transaction log backup taken before deletion enables recovery through the deletion time. The data is written to a new database whose name you provide.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free