Explain database transactions and ACID
Company: LinkedIn
Role: Software Engineer
Category: System Design
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates a candidate's understanding of database transactions including ACID properties, isolation levels (read uncommitted, read committed, repeatable read, serializable), common anomalies (dirty reads, non-repeatable reads, phantom reads), MVCC, and commit/rollback semantics, testing competency in transactional correctness and concurrency control. Commonly asked in System Design and database contexts because it probes reasoning about data integrity, visibility, and durability under concurrent workloads, and it tests both conceptual understanding of transactional guarantees and practical application of isolation behavior in relational database systems.