Skip to content
Sharp

SQL for Java Devs · interview question

In a high-concurrency environment, which isolation level would you choose to prevent dirty reads but allow non-repeatable reads?

Multiple choiceHardchapter-8-curatedpremiumsql-for-java-devstransactions
Choose one answer
Answer and explanation

Correct answer

C. Read Committed

Why

Read Committed is an isolation level that prevents dirty reads by only allowing access to committed data. However, it permits non-repeatable reads because data can be modified by others between reads within the same transaction.

Test yourself on SQL for Java Devs

A free test with instant, explained results. No account needed.

Start free test
All SQL for Java Devs questions →