Skip to main content

GATE CSE 2025Databases › Transactions, Concurrency Control & IndexingVerified

GATE CSE 2025 PYQ: ​​​​An audit of a banking transactions system has found that on an earlier occasion, two joint holders of…

​​​​An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account AA attempted simultaneous transfers of Rs. 10000 each from account AA to account BB. Both transactions read the same value, Rs.11000, as the initial balance in AA and were allowed to go through. BB was credited Rs.10000 twice. AA was debited only once and ended up with a balance of Rs. 1000.

Which of the following properties is/are certain to have been violated by the system?

  1. A
    Atomicity
  2. B
    Consistency
    Correct answer
  3. C
    Isolation
    Correct answer
  4. D
    Durability

Answer

(B, C) Consistency; Isolation

Approach

Analyze the described concurrent execution against the ACID properties. The lost update indicates isolation failure; the altered financial totals indicate consistency violation. Atomicity and durability are not implicated because each transaction completed its operations and no crash or rollback occurred.

The simultaneous transfers caused a lost update on account A and credited B twice, breaking both serializability (Isolation) and the conservation of total funds (Consistency). Atomicity and Durability are not implicated by the given facts.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.