DBMS · Transactions & Concurrency interview questions

45 DBMS · Transactions & Concurrency questions from the Computer Science Fundamentals bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Sign up free to see every answer with its explanation and ask the AI tutor.

Practice DBMS · Transactions & Concurrency free

1. What is Transaction?

Junior
  1. A.a logical unit of work made of operations that must execute all together or not at all
  2. B.the ACID property guaranteeing committed changes survive subsequent system failures
  3. C.a write lock that only one transaction may hold, blocking all other access
  4. D.an anomaly where re-reading the same row in a transaction yields a changed value

Answer + AI explanation with a free account

2. Which term means: "a logical unit of work made of operations that must execute all together or not at all"?

Junior
  1. A.Two-phase locking
  2. B.Dirty read
  3. C.Transaction
  4. D.Exclusive lock

Answer + AI explanation with a free account

3. Which statement is correct?

Junior
  1. A.Transaction — the ACID property guaranteeing a transaction is all-or-nothing, with partial work undone on failure
  2. B.Transaction — a logical unit of work made of operations that must execute all together or not at all
  3. C.Transaction — the ACID property guaranteeing committed changes survive subsequent system failures
  4. D.Transaction — reading data written by another transaction that has not yet committed

Answer + AI explanation with a free account

4. What is Atomicity?

Junior
  1. A.a logical unit of work made of operations that must execute all together or not at all
  2. B.the ACID property guaranteeing a transaction is all-or-nothing, with partial work undone on failure
  3. C.reading data written by another transaction that has not yet committed
  4. D.an ordering of the interleaved operations of several concurrent transactions

Answer + AI explanation with a free account

5. Which term means: "the ACID property guaranteeing a transaction is all-or-nothing, with partial work undone on failure"?

Junior
  1. A.Dirty read
  2. B.Shared lock
  3. C.Transaction
  4. D.Atomicity

Answer + AI explanation with a free account

6. Which statement is correct?

Junior
  1. A.Atomicity — a protocol with a growing phase acquiring locks and a shrinking phase releasing them
  2. B.Atomicity — a logical unit of work made of operations that must execute all together or not at all
  3. C.Atomicity — the ACID property guaranteeing a transaction is all-or-nothing, with partial work undone on failure
  4. D.Atomicity — a write lock that only one transaction may hold, blocking all other access

Answer + AI explanation with a free account

7. What is Consistency?

Junior
  1. A.an ordering of the interleaved operations of several concurrent transactions
  2. B.the ACID property guaranteeing committed changes survive subsequent system failures
  3. C.the ACID property ensuring a transaction takes the database from one valid state to another
  4. D.the ACID property guaranteeing a transaction is all-or-nothing, with partial work undone on failure

Answer + AI explanation with a free account

8. Which term means: "the ACID property ensuring a transaction takes the database from one valid state to another"?

Junior
  1. A.Consistency
  2. B.Atomicity
  3. C.Conflict serializability
  4. D.Shared lock

Answer + AI explanation with a free account

9. Which statement is correct?

Junior
  1. A.Consistency — the ACID property ensuring a transaction takes the database from one valid state to another
  2. B.Consistency — the ACID property guaranteeing committed changes survive subsequent system failures
  3. C.Consistency — an ordering of the interleaved operations of several concurrent transactions
  4. D.Consistency — the ACID property guaranteeing a transaction is all-or-nothing, with partial work undone on failure

Answer + AI explanation with a free account

10. What is Isolation?

Junior
  1. A.reading data written by another transaction that has not yet committed
  2. B.the ACID property ensuring concurrent transactions do not interfere with each other's results
  3. C.a write lock that only one transaction may hold, blocking all other access
  4. D.a logical unit of work made of operations that must execute all together or not at all

Answer + AI explanation with a free account

11. Which term means: "the ACID property ensuring concurrent transactions do not interfere with each other's results"?

Junior
  1. A.View serializability
  2. B.Isolation
  3. C.Conflict serializability
  4. D.Consistency

Answer + AI explanation with a free account

12. Which statement is correct?

Junior
  1. A.Isolation — a schedule property equivalent to some serial order by swapping non-conflicting operations
  2. B.Isolation — the ACID property ensuring concurrent transactions do not interfere with each other's results
  3. C.Isolation — reading data written by another transaction that has not yet committed
  4. D.Isolation — the ACID property guaranteeing committed changes survive subsequent system failures

Answer + AI explanation with a free account

13. What is Durability?

Junior
  1. A.a schedule property equivalent to some serial order by swapping non-conflicting operations
  2. B.the ACID property ensuring concurrent transactions do not interfere with each other's results
  3. C.the ACID property guaranteeing committed changes survive subsequent system failures
  4. D.a weaker serializability where a schedule yields the same reads and final writes as a serial one

Answer + AI explanation with a free account

14. Which term means: "the ACID property guaranteeing committed changes survive subsequent system failures"?

Junior
  1. A.Shared lock
  2. B.Durability
  3. C.Two-phase locking
  4. D.Consistency

Answer + AI explanation with a free account

15. Which statement is correct?

Junior
  1. A.Durability — an anomaly where re-reading the same row in a transaction yields a changed value
  2. B.Durability — the ACID property guaranteeing committed changes survive subsequent system failures
  3. C.Durability — an anomaly where one transaction's write overwrites another's uncommitted concurrent update
  4. D.Durability — the ACID property ensuring concurrent transactions do not interfere with each other's results

Answer + AI explanation with a free account

16. What is Schedule?

Mid
  1. A.an anomaly where re-running a query returns new rows inserted by another transaction
  2. B.a write lock that only one transaction may hold, blocking all other access
  3. C.the ACID property guaranteeing a transaction is all-or-nothing, with partial work undone on failure
  4. D.an ordering of the interleaved operations of several concurrent transactions

Answer + AI explanation with a free account

17. Which term means: "an ordering of the interleaved operations of several concurrent transactions"?

Mid
  1. A.Schedule
  2. B.Dirty read
  3. C.Lost update
  4. D.Consistency

Answer + AI explanation with a free account

18. Which statement is correct?

Mid
  1. A.Schedule — an ordering of the interleaved operations of several concurrent transactions
  2. B.Schedule — a protocol with a growing phase acquiring locks and a shrinking phase releasing them
  3. C.Schedule — a write lock that only one transaction may hold, blocking all other access
  4. D.Schedule — reading data written by another transaction that has not yet committed

Answer + AI explanation with a free account

19. What is Conflict serializability?

Senior
  1. A.a protocol with a growing phase acquiring locks and a shrinking phase releasing them
  2. B.reading data written by another transaction that has not yet committed
  3. C.a schedule property equivalent to some serial order by swapping non-conflicting operations
  4. D.a read lock that several transactions may hold on the same item simultaneously

Answer + AI explanation with a free account

20. Which term means: "a schedule property equivalent to some serial order by swapping non-conflicting operations"?

Senior
  1. A.Exclusive lock
  2. B.Phantom read
  3. C.Two-phase locking
  4. D.Conflict serializability

Answer + AI explanation with a free account

21. Which statement is correct?

Senior
  1. A.Conflict serializability — a schedule property equivalent to some serial order by swapping non-conflicting operations
  2. B.Conflict serializability — a protocol with a growing phase acquiring locks and a shrinking phase releasing them
  3. C.Conflict serializability — a read lock that several transactions may hold on the same item simultaneously
  4. D.Conflict serializability — a write lock that only one transaction may hold, blocking all other access

Answer + AI explanation with a free account

22. What is View serializability?

Senior
  1. A.the ACID property ensuring concurrent transactions do not interfere with each other's results
  2. B.a weaker serializability where a schedule yields the same reads and final writes as a serial one
  3. C.a schedule property equivalent to some serial order by swapping non-conflicting operations
  4. D.an ordering of the interleaved operations of several concurrent transactions

Answer + AI explanation with a free account

23. Which term means: "a weaker serializability where a schedule yields the same reads and final writes as a serial one"?

Senior
  1. A.View serializability
  2. B.Schedule
  3. C.Unrepeatable read
  4. D.Consistency

Answer + AI explanation with a free account

24. Which statement is correct?

Senior
  1. A.View serializability — a weaker serializability where a schedule yields the same reads and final writes as a serial one
  2. B.View serializability — reading data written by another transaction that has not yet committed
  3. C.View serializability — a schedule property equivalent to some serial order by swapping non-conflicting operations
  4. D.View serializability — an anomaly where one transaction's write overwrites another's uncommitted concurrent update

Answer + AI explanation with a free account

25. What is Two-phase locking?

Senior
  1. A.the ACID property ensuring a transaction takes the database from one valid state to another
  2. B.a protocol with a growing phase acquiring locks and a shrinking phase releasing them
  3. C.a read lock that several transactions may hold on the same item simultaneously
  4. D.an anomaly where one transaction's write overwrites another's uncommitted concurrent update

Answer + AI explanation with a free account

26. Which term means: "a protocol with a growing phase acquiring locks and a shrinking phase releasing them"?

Senior
  1. A.Two-phase locking
  2. B.Conflict serializability
  3. C.Shared lock
  4. D.Unrepeatable read

Answer + AI explanation with a free account

27. Which statement is correct?

Senior
  1. A.Two-phase locking — a protocol with a growing phase acquiring locks and a shrinking phase releasing them
  2. B.Two-phase locking — a schedule property equivalent to some serial order by swapping non-conflicting operations
  3. C.Two-phase locking — reading data written by another transaction that has not yet committed
  4. D.Two-phase locking — an anomaly where re-running a query returns new rows inserted by another transaction

Answer + AI explanation with a free account

28. What is Shared lock?

Mid
  1. A.reading data written by another transaction that has not yet committed
  2. B.a read lock that several transactions may hold on the same item simultaneously
  3. C.a write lock that only one transaction may hold, blocking all other access
  4. D.the ACID property ensuring concurrent transactions do not interfere with each other's results

Answer + AI explanation with a free account

29. Which term means: "a read lock that several transactions may hold on the same item simultaneously"?

Mid
  1. A.Lost update
  2. B.Exclusive lock
  3. C.Isolation
  4. D.Shared lock

Answer + AI explanation with a free account

30. Which statement is correct?

Mid
  1. A.Shared lock — the ACID property ensuring concurrent transactions do not interfere with each other's results
  2. B.Shared lock — a schedule property equivalent to some serial order by swapping non-conflicting operations
  3. C.Shared lock — a logical unit of work made of operations that must execute all together or not at all
  4. D.Shared lock — a read lock that several transactions may hold on the same item simultaneously

Answer + AI explanation with a free account

Showing 30 of 45 DBMS · Transactions & Concurrency questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.

Practice DBMS · Transactions & Concurrency free
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