← 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?
- A.Data pages are written before the log
- B.The log is written once a day
- C.Log records reach disk before the data pages they describe
- 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 →