Questions: Concurrency Control in Databases

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

Transaction A reads a row, then Transaction B updates and commits that row before A finishes. When A reads the same row again, it gets the updated value. Which anomaly is this?

ADirty read
BNon-repeatable read
CPhantom read
DLost update
Question 2 True / False

READ COMMITTED isolation level prevents non-repeatable reads.

TTrue
FFalse
Question 3 Short Answer

How does MVCC allow readers and writers to operate concurrently without blocking each other?

Think about your answer, then reveal below.