exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 6 question 28 discussion

Actual exam question from Microsoft's DP-300
Question #: 28
Topic #: 6
[All DP-300 Questions]

HOTSPOT -
You have a SQL Server on Azure Virtual Machines instance named VM1 that hosts a database named DB1.
You run the following query.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: No -
A copy-only log backup preserves the existing log archive point and, therefore, does not affect the sequencing of regular log backups.

Box 2: No -

Box 3: Yes -
If the database is online and you plan to perform a restore operation on the database, begin by backing up the tail of the log. To avoid an error for an online database, you must use the ... WITH NORECOVERY option of the BACKUP Transact-SQL statement.
Reference:
https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/tail-log-backups-sql-server https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/copy-only-backups-sql-server

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
amazonalex
1 year ago
with NORECOVERY option, the db will be placed in RESTORING state, so while technically not offline, still inaccessible...
upvoted 2 times
voodoo_sh
2 months, 2 weeks ago
yes, second one is tricky. Technically its not OFFLINE (in terms of possible database states). But its inaccessible. If we are talking in SQL Server terms, then No (not offline).
upvoted 1 times
...
testdumps2017
8 months, 2 weeks ago
absolutely correct - there is a major difference between offline and not accessible (restoring state). so the answer is correct.
upvoted 2 times
...
...
wyindualizer
1 year, 5 months ago
https://learn.microsoft.com/en-us/sql/relational-databases/backup-restore/tail-log-backups-sql-server?view=sql-server-ver16 Correct
upvoted 3 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