CS FundamentalsModerateIBM · Deloitte pattern

Which isolation level prevents dirty reads and non-repeatable reads but may still allow phantom reads (in the SQL standard)?

  1. A. READ UNCOMMITTED
  2. B. READ COMMITTED
  3. C. REPEATABLE READ
  4. D. SERIALIZABLE

Correct answer: C. REPEATABLE READ

REPEATABLE READ keeps rows already read stable, but new rows matching a predicate can appear (phantoms). Only SERIALIZABLE forbids all three; READ COMMITTED still allows non-repeatable reads.

More DBMS and SQL questions

Exams that ask this topic