ISRO Computer Science (CSE) 2026 - Question 15

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2026

Topic: Database Management Systems

In a strict Two-Phase Locking protocol, which statement is correct?

  • A. A transaction can acquire new locks after releasing an existing lock
  • B. Shared locks can always be released immediately after reading
  • C. Locks are acquired only during the shrinking phase
  • D. Exclusive locks are held until the transaction commits or aborts

Answer: D. Exclusive locks are held until the transaction commits or aborts

Explanation: Strict Two-Phase Locking (Strict 2PL) is designed to avoid cascading rollbacks by ensuring that a transaction holds all its exclusive (write) locks until it either commits or aborts, preventing other transactions from reading uncommitted data.

| | All questions of ISRO Computer Science (CSE) 2026