CS FundamentalsVery hardGATE CS (PYQ pattern)

Which of the following statements about ARIES recovery are correct? I. It follows write-ahead logging: a log record must reach stable storage before the page it describes is written to disk. II. It allows steal (dirty pages of uncommitted transactions may be flushed) and no-force (commit does not flush data pages). III. The redo pass repeats history, redoing updates of both committed and uncommitted transactions. IV. CLRs written during undo are themselves undone if the system crashes again during rollback.

  1. A. I and II only
  2. B. II, III and IV only
  3. C. I, III and IV only
  4. D. I, II and III only

Correct answer: D. I, II and III only

IV is false: a CLR is redo-only. A crash during undo skips already-compensated updates through the undoNextLSN pointers, so work is never undone twice.

More DBMS and SQL questions

Exams that ask this topic