Question 223 of 820
DP-900 Describe core data concepts Practice Question
A database administrator is explaining to a colleague that a database transaction must ensure that either all operations within it succeed or none of them take effect. Which ACID property is being described?
⚠ Common exam trap
Many candidates confuse Atomicity with Consistency, because both involve 'correctness' — but Atomicity is about the transaction's execution as a whole, while Consistency is about the database's adherence to rules after the transaction completes.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Atomicity
Atomicity ensures that a transaction is treated as a single, indivisible unit of work: either all operations within it are committed successfully, or none are applied. This is the property that guarantees the 'all-or-nothing' behavior described in the question. In Azure SQL Database or SQL Server, atomicity is enforced through the transaction log and the write-ahead logging (WAL) protocol, which records changes before they are written to disk.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Atomicity
Why this is correct
Atomicity is the property that guarantees a transaction is treated as a single, indivisible unit: either every operation within it is committed, or none is. If any statement fails, the entire transaction is rolled back, so partial updates are never written to the database (e.g., a funds transfer won't debit one account without crediting another). This all-or-nothing behavior is exactly what the colleague is describing. Atomicity is typically implemented via write-ahead logging or undo/redo logs so recovery can roll back uncommitted changes.
- ✗
Consistency
Why it's wrong here
Consistency ensures that a transaction transforms the database from one valid state to another, preserving all defined rules, constraints, triggers, and cascades. However, it says nothing about the indivisibility of the transaction's operations; even a consistent transaction could be interrupted mid-way and leave a state that still violates nothing if constraints are deferred, but more fundamentally consistency does not address rollback. The all-or-nothing guarantee is a separate concern, belonging to atomicity. In other words, consistency is about the outcome's correctness relative to rules, not about the way partial execution is handled.
- ✗
Isolation
Why it's wrong here
Isolation governs how concurrent transactions are executed relative to each other, ensuring that uncommitted changes from one transaction are not visible to others (depending on isolation level). It deals with locking, versioning, and serializable schedules, not with the single-transaction guarantee of all-or-nothing. Even with perfect isolation, a transaction could fail partway and leave partial changes if atomicity were absent; isolation only prevents interference, not rollback. Thus it is not the term describing the required behavior.
- ✗
Durability
Why it's wrong here
Durability guarantees that once a transaction is committed, its changes persist permanently, surviving crashes, power losses, and system restarts. It is implemented via flushing the transaction log to stable storage before acknowledging commit. Durability does not concern the execution phase; it only matters after a successful commit. The all-or-nothing behavior during the transaction itself is atomicity, so durability is the wrong choice here.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
This DP-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-900 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.