What is a dirty read?
Practice this question from Quiz: DBMS for Java, with options and an explanation.
Question
What is a dirty read?
Option A — Correct answer
Reading data written by an uncommitted transaction
Dirty reads can expose changes that may later roll back.
Option B
Reading a primary key
Option C
Reading a Java String
Option D
Reading only committed data