Quiz: API Design
Five scenario questions with explanations and a visual checkpoint.
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
A and B read notice n40 at version 3; A: If-Match v3 -> commit version 4; B: If-Match v3 -> 412; version 4 preserved; REST: bounded notice representation; GraphQL: selected fields; bounded nested work; RPC: typed method; safe retry still required
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.
A client retries a notice with the same key but a changed audience. Should the service overwrite the first notice?
A client retries a notice with the same key but a changed audience. Should the service overwrite the first notice?
Your design draft
Clarify assumptions, explain your approach, and test the difficult cases. Save your draft, then compare it with the study notes.
Self-review checklist
Self-guided practice. Automated AI feedback and code execution are not connected.