CS FundamentalsHardGATE CS · PSU (ISRO/BARC)

Which statement about shadow paging is correct?

  1. A. It needs no undo log, but committing scatters pages and old pages must be garbage-collected
  2. B. It supports concurrent transactions more easily than logging
  3. C. It updates pages in place and keeps a before-image copy
  4. D. It needs both undo and redo logs

Correct answer: A. It needs no undo log, but committing scatters pages and old pages must be garbage-collected

Updates go to new page copies and commit is an atomic switch of the page-table pointer, so aborting just discards the shadow; the costs are lost data clustering and garbage collection.

More DBMS and SQL questions

Exams that ask this topic