Questions: Isolation Level: READ COMMITTED

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Transaction A reads a row showing a balance of $1,000. Transaction B then updates that balance to $500 and commits. Transaction A reads the same row again. Under READ COMMITTED, what does transaction A see on its second read?

A$1,000 — READ COMMITTED ensures a consistent snapshot for the entire transaction
B$500 — each statement sees the latest committed data at the time it runs
CAn error — concurrent reads and writes are blocked under READ COMMITTED
D$1,000 — READ COMMITTED only prevents dirty reads, not committed changes
Question 2 Multiple Choice

Which of the following is NOT prevented by the READ COMMITTED isolation level?

AReading data that another transaction has written but not yet committed
BActing on a value that will later be rolled back by another transaction
CSeeing different values for the same row in two reads within one transaction
DReading a version of a row created by a transaction that subsequently aborted
Question 3 True / False

Under READ COMMITTED, a transaction generally sees the same data most of the time it reads the same row.

TTrue
FFalse
Question 4 True / False

READ COMMITTED prevents dirty reads by ensuring that a transaction only ever reads data that has already been committed by other transactions.

TTrue
FFalse
Question 5 Short Answer

Explain why READ COMMITTED prevents dirty reads but not non-repeatable reads, and describe a scenario where this distinction matters.

Think about your answer, then reveal below.