All practice tasks

Knowledge Check

Atomic block evidence

While reviewing django transactions migrations, an invoice saves without its line items. Which action fixes it, and which check proves it worked?

Answer options

  • A. Lock the inventory row before changing it
  • B. Generate and review a migration
  • C. Wrap creation in transaction.atomic
  • D. Verify exceptions roll back all writes

What this task practices

Atomic block evidence is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Django Transactions Migrations, Atomic Block. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.