Quiz: Dealing with Contention
Apply Dealing with Contention to concrete decisions. Choose an answer for every question, then review the explanations.
Visual checkpoint
Use this diagram to locate the state and failure boundaries tested by the questions. Answer all five questions before revealing feedback; the result is a study checkpoint rather than a certification.
Read the diagram
UPDATE seat SET holder = :buyer, version = version + 1; WHERE seat_id = 'A7' AND holder IS NULL AND version = 7;
Review your reasoning
After checking answers, identify the incorrect assumption behind each missed question. Rewrite it as a rule with a concrete exception or failure case, then return to the lesson.
Why does adding a distributed lock with a 30-second expiry not guarantee only one worker writes a result?
Answers and your latest score are saved to your account when you check them. Completion records your attempt, not a passing certification.