Concurrency Control interview questions

24 Concurrency Control questions from the SQL bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is MVCC?

Mid
  1. A.a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  2. B.the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  3. C.a read lock that several transactions may hold on the same resource at once but which blocks any writer
  4. D.a technique that keeps multiple timestamped versions of a row so readers see a consistent snapshot without blocking writers

Answer + AI explanation with Pro

2. Which term means: "a technique that keeps multiple timestamped versions of a row so readers see a consistent snapshot without blocking writers"?

Mid
  1. A.Lock escalation
  2. B.SAVEPOINT
  3. C.Optimistic locking
  4. D.MVCC

Answer + AI explanation with Pro

3. Which statement is correct?

Mid
  1. A.MVCC — a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction
  2. B.MVCC — the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  3. C.MVCC — a technique that keeps multiple timestamped versions of a row so readers see a consistent snapshot without blocking writers
  4. D.MVCC — a read lock that several transactions may hold on the same resource at once but which blocks any writer

Answer + AI explanation with Pro

4. What is Optimistic locking?

Senior
  1. A.a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed
  2. B.the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  3. C.a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  4. D.a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released

Answer + AI explanation with Pro

5. Which term means: "a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed"?

Senior
  1. A.Optimistic locking
  2. B.MVCC
  3. C.Shared lock
  4. D.Two-phase locking

Answer + AI explanation with Pro

6. Which statement is correct?

Senior
  1. A.Optimistic locking — a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed
  2. B.Optimistic locking — a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability
  3. C.Optimistic locking — the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  4. D.Optimistic locking — a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction

Answer + AI explanation with Pro

7. What is Pessimistic locking?

Senior
  1. A.a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  2. B.a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed
  3. C.a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released
  4. D.a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability

Answer + AI explanation with Pro

8. Which term means: "a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released"?

Senior
  1. A.Two-phase locking
  2. B.MVCC
  3. C.Pessimistic locking
  4. D.Lock escalation

Answer + AI explanation with Pro

9. Which statement is correct?

Senior
  1. A.Pessimistic locking — a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability
  2. B.Pessimistic locking — a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released
  3. C.Pessimistic locking — a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  4. D.Pessimistic locking — a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction

Answer + AI explanation with Pro

10. What is Shared lock?

Mid
  1. A.the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  2. B.a read lock that several transactions may hold on the same resource at once but which blocks any writer
  3. C.a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  4. D.a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability

Answer + AI explanation with Pro

11. Which term means: "a read lock that several transactions may hold on the same resource at once but which blocks any writer"?

Mid
  1. A.Exclusive lock
  2. B.Shared lock
  3. C.MVCC
  4. D.Pessimistic locking

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Shared lock — a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released
  2. B.Shared lock — a read lock that several transactions may hold on the same resource at once but which blocks any writer
  3. C.Shared lock — the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  4. D.Shared lock — a technique that keeps multiple timestamped versions of a row so readers see a consistent snapshot without blocking writers

Answer + AI explanation with Pro

13. What is Exclusive lock?

Mid
  1. A.a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability
  2. B.a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction
  3. C.a read lock that several transactions may hold on the same resource at once but which blocks any writer
  4. D.a write lock that only one transaction may hold and that blocks all other readers and writers on the resource

Answer + AI explanation with Pro

14. Which term means: "a write lock that only one transaction may hold and that blocks all other readers and writers on the resource"?

Mid
  1. A.Optimistic locking
  2. B.SAVEPOINT
  3. C.Exclusive lock
  4. D.MVCC

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Exclusive lock — a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  2. B.Exclusive lock — the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  3. C.Exclusive lock — a read lock that several transactions may hold on the same resource at once but which blocks any writer
  4. D.Exclusive lock — a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability

Answer + AI explanation with Pro

16. What is Lock escalation?

Senior
  1. A.a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction
  2. B.a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed
  3. C.the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  4. D.a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released

Answer + AI explanation with Pro

17. Which term means: "the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead"?

Senior
  1. A.SAVEPOINT
  2. B.Two-phase locking
  3. C.Shared lock
  4. D.Lock escalation

Answer + AI explanation with Pro

18. Which statement is correct?

Senior
  1. A.Lock escalation — a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed
  2. B.Lock escalation — the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead
  3. C.Lock escalation — a read lock that several transactions may hold on the same resource at once but which blocks any writer
  4. D.Lock escalation — a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released

Answer + AI explanation with Pro

19. What is SAVEPOINT?

Mid
  1. A.a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction
  2. B.a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released
  3. C.a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed
  4. D.the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead

Answer + AI explanation with Pro

20. Which term means: "a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction"?

Mid
  1. A.Shared lock
  2. B.Optimistic locking
  3. C.Lock escalation
  4. D.SAVEPOINT

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. A.SAVEPOINT — a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction
  2. B.SAVEPOINT — a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability
  3. C.SAVEPOINT — a strategy that acquires locks up front before reading or writing, blocking other transactions until they are released
  4. D.SAVEPOINT — the engine's promotion of many fine-grained row locks into a single coarser table lock to reduce locking overhead

Answer + AI explanation with Pro

22. What is Two-phase locking?

Senior
  1. A.a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  2. B.a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction
  3. C.a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability
  4. D.a technique that keeps multiple timestamped versions of a row so readers see a consistent snapshot without blocking writers

Answer + AI explanation with Pro

23. Which term means: "a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability"?

Senior
  1. A.Lock escalation
  2. B.Two-phase locking
  3. C.Shared lock
  4. D.Optimistic locking

Answer + AI explanation with Pro

24. Which statement is correct?

Senior
  1. A.Two-phase locking — a write lock that only one transaction may hold and that blocks all other readers and writers on the resource
  2. B.Two-phase locking — a strategy that assumes conflicts are rare and checks a version or timestamp only at commit time, retrying if the row changed
  3. C.Two-phase locking — a named marker within a transaction that lets you roll back part of the work without aborting the whole transaction
  4. D.Two-phase locking — a protocol with a growing phase that only acquires locks and a shrinking phase that only releases them, guaranteeing serializability

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Concurrency Control question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers