All practice tasks

Knowledge Check

Select_for_update decision

While reviewing django transactions migrations, two workers reserve the same inventory. Which action best addresses the problem?

Answer options

  • A. Write a reversible data migration
  • B. Wrap creation in transaction.atomic
  • C. Lock the inventory row before changing it
  • D. Generate and review a migration

What this task practices

Select_for_update decision 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 medium difficulty. It focuses on Django Transactions Migrations, Select For Update. 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.