CS FundamentalsEasyIBM · Deloitte pattern

Which mechanism does a DBMS mainly rely on to guarantee durability of committed transactions?

  1. A. Normalisation
  2. B. Locking
  3. C. Write-ahead logging, with log records forced to stable storage at commit
  4. D. Indexing

Correct answer: C. Write-ahead logging, with log records forced to stable storage at commit

Under WAL, the commit record and the transaction's log records reach stable storage before commit is acknowledged, so the changes can be redone after a crash. Locking provides isolation.

More DBMS and SQL questions

Exams that ask this topic