DP-900 · Common Data Workloads
21 cards
Transactional Workloads
-
Quick check
Which description best defines a transaction in a transactional system?
AA small, discrete unit of work
Right. A transaction is a small, discrete unit of work that encapsulates a specific event the organization wants to track, such as a bank transfer or a retail payment.
BA preaggregated hierarchy of dimensions and measures
Preaggregated dimensions belong to an analytical model built for summaries, not to a single recorded business event.
CA vast collection of historical business metrics
Large volumes of historical metrics describe an analytical store; a transaction is one event, recorded as it happens.
2 / 21
-
Quick check
What name is commonly given to the work performed by transactional systems?
AExtract, Transform, and Load
ETL is a pattern for moving and preparing data toward analysis, not the name of transactional work.
BOnline Transactional Processing
Right. The work transactional systems perform is called Online Transactional Processing, or OLTP.
COnline Analytical Processing, usually shortened to OLAP
OLAP names the analytical side of the picture, which queries aggregated data rather than recording events.
4 / 21
-
Quick check
Which expansion identifies the CRUD operations of an OLTP workload?
ACollect, classify, protect, and govern the stored data
Those are governance activities rather than the record operations an OLTP database performs.
BIngest, cleanse, conform, and summarize the source records
Ingesting, cleansing, and summarizing describe preparing data for analysis, not the transactional record operations.
CCreate, retrieve, update, and delete database records
Right. Transactional records are created, retrieved, updated, and deleted, and that set of operations is commonly called CRUD.
6 / 21
-
Keep your progress in the app
That’s 3 of 10 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
Which requirement most clearly indicates a transactional workload?
ASummarizing several years of sales history for a regional trend report
Summarizing years of history for a trend is analytical work over a large historical collection.
BRecording each retail payment as it happens, with the current data readable and writable
Right. Recording small, discrete business events while keeping current data available for both reads and writes is the OLTP pattern of a live line-of-business application.
CPreparing a read-mostly copy of business metrics for exploration
A read-mostly store of metrics prepared for exploration is an analytical store rather than a transactional system.
8 / 21
-
Quick check
A bank transfer debits Account A, but the credit to Account B cannot complete. What should an ACID transaction do?
AFail the debit as well, so that neither account change completes
Right. Atomicity treats the transaction as one unit: if either action cannot complete, the other must fail too.
BPersist the debit and expose both of the account balances
Leaving the debit in place is the half-finished outcome atomicity prevents, whatever balances are then shown.
CKeep the debit and retry the credit after committing
A retry after commit would mean the debit had already been kept on its own, which breaks the all-or-nothing rule.
11 / 21
-
Quick check
Which ACID property restricts transactions to moving a database from one valid state to another?
AIsolation
Isolation is about concurrent transactions not interfering with one another, not about the validity of the resulting state.
BThe durability property
Durability concerns what survives after a commit rather than whether the resulting state is valid.
CConsistency
Right. Consistency allows a transaction to take the database only from one valid state to another.
13 / 21
-
Quick check
While a bank transfer is in progress, a balance check sees Account A before the transfer and Account B after it. Which ACID property should prevent this?
AThe atomicity property
Atomicity governs whether the transfer completes as a whole; here the problem is what another reader sees while it runs.
BIsolation
Right. Isolation prevents concurrent transactions from interfering with one another, so a concurrent balance check cannot mix a value from before the transfer with one from after it.
CDurability
Durability concerns whether committed work survives afterwards, not what a concurrent reader observes during the transaction.
15 / 21
-
Quick check
A retail payment is committed, and then the database system is switched off. Which outcome demonstrates durability when it restarts?
AThe committed payment is still reflected in the stored data
Right. Durability means a committed transaction remains committed, so the change persists across the system being switched off and on again.
BThe payment stays pending until another transaction begins
A committed change does not wait on another transaction; commitment is the point at which it becomes permanent.
CThe payment is reversed because no reader was active
Nothing about an inactive reader undoes a commit, and reversing it is exactly the loss durability prevents.
17 / 21
-
Quick check
Two orders are processed at the same time, and each one reads a stock level the other is midway through changing. Which guarantee is missing?
ADurability, because a committed change was lost
Nothing described here was committed and then lost, which is the specific failure durability prevents.
BConsistency, because the resulting state broke a rule the database enforces
The complaint is not that the final state is invalid; it is what each transaction observed while the other was running.
CIsolation, because concurrent transactions interfered with one another
Right. Interference between concurrent work is the failure condition that isolation exists to prevent.
19 / 21
-
Quick check
Which line pairs each ACID property with the failure it prevents?
AAtomicity prevents interference, isolation prevents loss after a commit, durability prevents half-finished work
Every pairing is displaced: interference is isolation's concern and half-finished work is atomicity's.
BAtomicity prevents half-finished work, isolation prevents interference, durability prevents loss after commit
Right. Atomicity makes a transaction all or nothing, isolation keeps concurrent transactions from interfering, and durability keeps a committed transaction committed.
CAtomicity prevents invalid states, isolation prevents half-finished work, durability prevents interference
Invalid resulting states are the concern of consistency, and half-finished work belongs to atomicity rather than isolation.
21 / 21
-
10 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
The whole course, on your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.