CS FundamentalsModerateGATE CS · TCS Digital

A bank's server crashes immediately after a transaction commits, before its changes are written to the data files. After restart the committed changes are still present. Which ACID property is responsible, and by what mechanism?

  1. A. Atomicity, through undo of the log records
  2. B. Durability, through redo using the write-ahead log
  3. C. Isolation, through lock release at commit
  4. D. Consistency, through re-checking foreign keys

Correct answer: B. Durability, through redo using the write-ahead log

Committed changes must survive failures; recovery redoes them from the write-ahead log. Undo is for uncommitted transactions.

More DBMS and SQL questions

Exams that ask this topic