Skip to content
Sharp

Data Access · interview question

Which move is the best default when transactions becomes part of this workflow?

Multiple choiceMediumchapter-11-curatedpremiumdata-accesstransactions
Choose one answer
Answer and explanation

Correct answer

D. Use transactions when multiple writes must succeed or fail as one coherent business step.

Why

Use transactions when multiple writes must succeed or fail as one coherent business step. That is the stronger engineering move because interviewers care because transaction boundaries reveal whether you think about system consistency. Without a transaction, partial writes can leave the database telling two incompatible stories at once.

Test yourself on Data Access

A free test with instant, explained results. No account needed.

Start free test
All Data Access questions →