Courseiva
Describe core data conceptsmediumMultiple ChoiceObjective-mapped

DP-900 Describe core data concepts Practice Question

A bank processes a fund transfer that involves deducting money from one account and crediting it to another. The system ensures that both operations succeed together or, if any part fails, the entire transaction is rolled back, leaving both accounts unchanged. Which ACID property does this scenario primarily guarantee?

⚠ Common exam trap

A common mix-up: candidates confuse atomicity with consistency, mistakenly thinking that maintaining the total balance (consistency) is the same as the all-or-nothing execution of the transaction, but atomicity specifically focuses on the indivisibility of the transaction steps.

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 fund transfer scenario, both the debit and credit operations must complete successfully, or the entire transaction is rolled back, leaving the accounts unchanged. This all-or-nothing behavior is the defining characteristic of atomicity in ACID transactions.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Consistency

    Why it's wrong here

    Consistency ensures that a transaction moves the database from one valid state to another by enforcing all integrity constraints, such as foreign keys, unique indexes, check constraints, and custom business rules. In a fund transfer, consistency could verify that the sum of all account balances is preserved or that a negative balance is not allowed, but it does not specify what happens when a statement fails halfway through. A database can be consistent before and after a transaction yet still leave partial writes if the transaction is not atomic. Thus, consistency is a state-oriented guarantee, whereas the question describes a process-oriented all-or-nothing guarantee.

    When this WOULD be correct

    A question that asks: 'A bank transfer ensures that the total balance across accounts remains the same before and after the transaction. Which ACID property does this guarantee?' would make Consistency correct, as it maintains database invariants.

  • Isolation

    Why it's wrong here

    Isolation governs how the database handles the temporary intermediate state of a transaction while it is running, specifically shielding it from concurrently executing transactions. In the fund-transfer scenario, isolation would prevent another transaction from reading the account balance in the brief window after the debit but before the credit, avoiding inconsistent observations. However, isolation does not guarantee that the transfer itself will be rolled back if something goes wrong; it only serializes or flags concurrent access. The scenario is about failure atomicity, not about interference between simultaneous operations.

    When this WOULD be correct

    A question where two transactions run simultaneously, e.g., one reading a balance while another updates it, and the system prevents dirty reads or lost updates. The correct answer would be Isolation.

  • Durability

    Why it's wrong here

    Durability is the ACID property that only comes into play after the transaction has been successfully committed, not during its execution. It promises that once the database acknowledges the completed fund transfer, the changes will survive subsequent crashes, power losses, or media failures because the log records have been flushed to stable storage. Durability does not enforce any rollback semantics or all-or-nothing rule; it assumes the transaction already succeeded. Therefore, it cannot explain the requirement that a failure during the transfer leaves no partial debit.

    When this WOULD be correct

    A question stating: 'After a fund transfer is successfully committed, the system crashes. The bank later confirms the transfer was recorded permanently. Which ACID property is demonstrated?'

  • Atomicity

    Why this is correct

    Atomicity is the ACID property that treats the entire fund transfer as a single, indivisible unit of work. The transfer requires two physical operations—a debit from the source account and a credit to the destination account—and atomicity guarantees that either both operations persist or neither does. If any step fails, the database management system rolls back the entire transaction, restoring all affected rows to their pre-transaction state. This all-or-nothing behavior directly matches the scenario's requirement that a partial deduction cannot be left behind.

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 is the ACID property that treats the entire fund transfer as a single, indivisible unit of work. The transfer requires two physical operations—a debit from the source account and a credit to the destination account—and atomicity guarantees that either both operations persist or neither does. If any step fails, the database management system rolls back the entire transaction, restoring all affected rows to their pre-transaction state. This all-or-nothing behavior directly matches the scenario's requirement that a partial deduction cannot be left behind.

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 the scenario specifically describes the 'all-or-nothing' execution of the transfer, which is the definition of atomicity.

★ When this WOULD be the correct answer

A question that asks: 'A bank transfer ensures that the total balance across accounts remains the same before and after the transaction. Which ACID property does this guarantee?' would make Consistency correct, as it maintains database invariants.

Why candidates choose this

Candidates often confuse atomicity with consistency because both involve correctness; they think 'all-or-nothing' ensures data remains consistent, but consistency is about rules/invariants, not the transaction's indivisibility.

IsolationWrong answer — click to see why

Why this is wrong here

Isolation ensures concurrent transactions do not interfere with each other, but the scenario describes a single transaction's all-or-nothing execution, which is Atomicity.

★ When this WOULD be the correct answer

A question where two transactions run simultaneously, e.g., one reading a balance while another updates it, and the system prevents dirty reads or lost updates. The correct answer would be Isolation.

Why candidates choose this

Candidates may confuse 'consistency' with the idea of accounts staying balanced, but the scenario's focus on 'both succeed or both fail' directly points to Atomicity, not Isolation.

DurabilityWrong answer — click to see why

Why this is wrong here

Durability ensures that once a transaction is committed, its changes persist even after a system failure. The scenario describes a rollback on failure, not persistence after commit.

★ When this WOULD be the correct answer

A question stating: 'After a fund transfer is successfully committed, the system crashes. The bank later confirms the transfer was recorded permanently. Which ACID property is demonstrated?'

Why candidates choose this

Candidates may confuse durability with the 'all-or-nothing' nature of atomicity, or think that ensuring no partial updates implies durability.

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?”

About these practice questions

Courseiva writes every DP-900 question from scratch — 820 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.