Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:
Transactions provide a clean unit of work in database systems. The key property highlighted here is atomicity: a transaction’s changes are applied entirely or not at all. This property underpins reliable application behavior in the face of errors or crashes.
Given Data / Assumptions:
Concept / Approach:
ACID stands for Atomicity, Consistency, Isolation, Durability. Atomicity is the “all-or-nothing” guarantee. Consistency requires that transactions move the database from one valid state to another, Isolation controls interference among concurrent transactions, and Durability guarantees that committed changes persist.
Step-by-Step Solution:
Verification / Alternative check:
Crash recovery replays/undoes logged operations to ensure either the full transaction is applied or not applied, never a partial state.
Why Other Options Are Wrong:
Common Pitfalls:
Mistaking batch execution for transactional grouping. Without explicit transaction control, some drivers autocommit per statement; still, each statement is atomic.
Final Answer:
Correct
Discussion & Comments