nerdexam
Exams70-467Questions#416
Microsoft

70-467 · Question #416

70-467 Question #416: Real Exam Question with Answer & Explanation

The correct answer is B: BACKUP LOG DB1 TO Device1. A standard transaction log backup truncates inactive log space after writing it to the backup device, freeing room for new transactions while keeping the LSN chain intact.

Question

You have a SQL Server 2012 database named DB1. You have a backup device named Device1. You discover that the log file for the database is full. You need to ensure that DB1 can complete transactions. The solution must not affect the chain of log sequence numbers (LSNs). Which code segment should you execute?

Exhibits

70-467 question #416 exhibit 1
70-467 question #416 exhibit 2

Options

  • ABACKUP LCG DB1 TO Device1 WITH COPY_ONLY
  • BBACKUP LOG DB1 TO Device1
  • CBACKUP LOG DB1 TO Device1 WITH NCRECCVERY
  • DBACKUP LOG D31 TO Device1 WITH TRUNCATE ONLY

Explanation

A standard transaction log backup truncates inactive log space after writing it to the backup device, freeing room for new transactions while keeping the LSN chain intact.

Common mistakes.

  • A. BACKUP LOG with COPY_ONLY backs up the log without truncating it, so no log space is freed and the full-log condition persists.
  • C. NORECOVERY is a restore option that leaves a database in a restoring state; it is not a valid BACKUP LOG option for freeing log space on a live database.
  • D. TRUNCATE_ONLY was removed in SQL Server 2008 and does not exist in SQL Server 2012; it also broke the LSN chain by discarding log records without backing them up.

Concept tested. SQL Server transaction log backup and LSN chain preservation

Reference. https://learn.microsoft.com/en-us/sql/relational-databases/backup-restore/transaction-log-backups-sql-server

Community Discussion

No community discussion yet for this question.

Full 70-467 Practice