Isolation Levels

Talk it through out loud with your AI coach.

The problem

  • medium
  • Pro

Your database offers read committed, repeatable read and serialisable isolation. Explain what problems each level allows or prevents, such as dirty reads, non-repeatable reads and phantoms, and why the default is usually not the strictest.

What a strong answer covers

  • The anomalies that concurrent transactions can produce, in plain words.
  • What each of the three levels protects against and what it still allows.
  • What the strictest level costs and what the application must do about it.
  • Why databases don't default to the strictest setting.

Common mistake: Treating isolation levels as purely more or less safe, without mentioning the cost in throughput and retries.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud