DP-900 Describe core data concepts Practice Question
In a banking application, a transaction transfers $100 from Account A to Account B. The system deducts $100 from Account A successfully, but due to a network error, the credit to Account B fails. The application rolls back the deduction from Account A, ensuring that neither account is affected. Which ACID property is being enforced?
⚠ Common exam trap
Many exam-takers confuse the rollback action with consistency, because both involve maintaining a correct state, but atomicity specifically governs the all-or-nothing completion of the transaction itself, not the validity of the data rules.
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. In this scenario, the deduction from Account A and the credit to Account B must both succeed or both fail entirely. When the credit to Account B fails, the system rolls back the deduction from Account A, preserving the all-or-nothing nature of the transaction. This is the core behavior of atomicity in ACID-compliant database systems like Azure SQL Database or SQL Server.
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 guarantees that a transaction's operations are executed as an all-or-nothing unit. If the $100 debit from one account succeeds but the $100 credit to another account fails, atomicity requires the entire transaction to be rolled back, returning the database to its pre-transaction state. Without atomicity, a partial transfer would leave the bank with inconsistent balances and potential lost or duplicated funds.
- ✗
Consistency
Why it's wrong here
Consistency ensures that a database moves from one valid state to another, respecting all defined constraints such as foreign keys and check constraints, like preventing negative account balances. It describes the correctness of the entire data set before and after a transaction, but it does not govern how the database handles a partial failure inside a transaction. If the credit leg fails, consistency alone does not mandate reversing the debit; it only says the final state must be valid, and atomicity is the property that actually enforces the rollback.
When this WOULD be correct
In a scenario where a transaction deducts $100 from Account A and credits $100 to Account B, but the credit violates a constraint (e.g., Account B's balance exceeds a limit), causing the transaction to fail and roll back. The question would ask which property ensures the database remains in a valid state before and after the transaction.
- ✗
Isolation
Why it's wrong here
Isolation governs how the database handles concurrent transactions by ensuring that one transaction’s intermediate results are not visible to others until it commits, preventing phenomena like dirty reads or lost updates. It does not provide any mechanism to undo the changes of a failed transaction; a failed transaction's partial writes must be reverted by the atomicity property. In this transfer example, isolation would keep the debit hidden from other transactions during processing, but it would not automatically reverse that debit when the credit operation fails.
When this WOULD be correct
A question where two transactions run simultaneously, e.g., Transaction 1 reads Account A balance while Transaction 2 transfers money from Account A to B, and the system prevents Transaction 1 from seeing intermediate states (e.g., uncommitted debit). Isolation would be the property ensuring each transaction appears to execute in isolation.
- ✗
Durability
Why it's wrong here
Durability ensures that once a transaction is committed, its changes are permanently persisted in non-volatile storage and survive crashes or power failures. However, durability does not address what happens when an in-progress transaction fails or is aborted; it only protects successfully committed data. In this transfer scenario, durability would not roll back the debit if the credit operation fails — that rollback action is specifically the domain of atomicity.
When this WOULD be correct
Durability would be correct if the question described a transaction that successfully completed (e.g., both debit and credit were committed) and then the system crashed, but upon recovery the changes were still present.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The DP-900 exam frequently reuses these exact scenarios with slightly different constraints.
✓AtomicityCorrect answer▾
Why this is correct
Atomicity guarantees that a transaction's operations are executed as an all-or-nothing unit. If the $100 debit from one account succeeds but the $100 credit to another account fails, atomicity requires the entire transaction to be rolled back, returning the database to its pre-transaction state. Without atomicity, a partial transfer would leave the bank with inconsistent balances and potential lost or duplicated funds.
✗ConsistencyWrong answer — click to see why▾
Why this is wrong here
Consistency ensures that a transaction transforms the database from one valid state to another, but here the rollback due to failure maintains consistency. The key property demonstrated is atomicity, which ensures the entire transaction is treated as a single unit that either fully completes or fully rolls back.
★ When this WOULD be the correct answer
In a scenario where a transaction deducts $100 from Account A and credits $100 to Account B, but the credit violates a constraint (e.g., Account B's balance exceeds a limit), causing the transaction to fail and roll back. The question would ask which property ensures the database remains in a valid state before and after the transaction.
Why candidates choose this
Candidates may confuse consistency with atomicity because both involve transaction correctness. They might think that rolling back to maintain data integrity is a consistency property, not realizing that atomicity is the mechanism that enables the rollback.
✗IsolationWrong answer — click to see why▾
Why this is wrong here
Isolation ensures concurrent transactions do not interfere with each other, but this scenario involves a single transaction that fails partway; the rollback enforces atomicity (all-or-nothing), not isolation.
★ When this WOULD be the correct answer
A question where two transactions run simultaneously, e.g., Transaction 1 reads Account A balance while Transaction 2 transfers money from Account A to B, and the system prevents Transaction 1 from seeing intermediate states (e.g., uncommitted debit). Isolation would be the property ensuring each transaction appears to execute in isolation.
Why candidates choose this
Candidates confuse isolation with atomicity because both deal with transaction boundaries; they think preventing partial effects is about isolation rather than the all-or-nothing guarantee of atomicity.
✗DurabilityWrong answer — click to see why▾
Why this is wrong here
Durability ensures that committed transactions persist permanently, even after system failures. In this scenario, the transaction was rolled back, not committed, so durability is not relevant.
★ When this WOULD be the correct answer
Durability would be correct if the question described a transaction that successfully completed (e.g., both debit and credit were committed) and then the system crashed, but upon recovery the changes were still present.
Why candidates choose this
Candidates may confuse durability with the overall reliability of transactions, or think that because the system recovers from a network error, durability is being enforced.
Analysis generated from the official DP-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Go deeper
Related to this question
About these practice questions
This DP-900 question is part of Courseiva's 820-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.