Learning pathsA
COURSE CHECKPOINT · 5 QUESTIONS

Quiz: API Design

Apply API Design 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.

Caller → Authenticate (request); Authenticate → Authorize object (principal); Authorize object → Validate payload (allowed); Validate payload → Atomic create (key + fingerprint); Atomic create → Status resource (resource ID)
Scroll to inspect the diagram, or open it at full size.

Figure — Caller → Authenticate (request); Authenticate → Authorize object (principal); Authorize object → Validate payload (allowed); Validate payload → Atomic create (key + fingerprint); Atomic create → Status resource (resource ID)

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?

1. Two creation requests use the same key and body concurrently. What prevents duplicate resources?
2. The same idempotency key arrives with a changed amount. What is the safest contract?
3. A caller knows another tenant’s object ID. Which check matters?
4. What should 202 Accepted mean for a durable asynchronous job?
5. Which cursor order avoids ambiguity when several rows share a timestamp?

Answers and your latest score are saved to your account when you check them. Completion records your attempt, not a passing certification.