🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Database Recovery: all 10 questions

Quiz: Database Recovery · Question 2 of 10

What does the write-ahead logging rule require?

What does the write-ahead logging rule require?

  1. A.Data pages are written before the log
  2. B.The log is written once a day
  3. C.Log records reach disk before the data pages they describe
  4. D.The log is kept only in RAM
Answer & explanation

Correct answer: Log records reach disk before the data pages they describe

With the log on disk first, every change that might be on disk can be undone or redone.

Can you get the rest right without peeking?

Take the timed Quiz: Database Recovery quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →