Skip to content
Sharp

Data Access · interview question

A teammate submits shaky transactions code. Which review comment is the strongest?

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

Correct answer

C. Make the rule clearer and easier to explain. Use transactions when multiple writes must succeed or fail as one coherent business step.

Why

The best review comment anchors the change to readability, correctness, and future maintenance. 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 →