Skip to content

Knowledge Check

Production-grade scenarios, not trivia. Each topic has its own short quiz so you can test yourself right after reading the matching page. Every question presents a situation you'd actually hit building or reviewing an API — pick the best answer(s), and read the explanation that appears after you respond. Your progress is saved in the browser, per quiz.

Authentication

Quiz Questions Covers
Basic Auth 5 Transport, timing-safe comparison, logout, hashing cost
Token Auth & API Keys 5 Key generation, storage, transport, leakage
JWT 6 Algorithm pinning, storage, signing keys, claim validation, revocation
OAuth 2.0 6 PKCE, state, redirect URIs, grant selection, token types, refresh rotation
Session Auth 5 CSRF, fixation, cookie attributes, XSS, scaling
MFA 5 Factor categories, fatigue, step-up claims, phishing resistance, seed storage
Enterprise SSO 5 SAML vs OIDC, XSW, group mapping, LDAPS, offboarding
Passkeys & WebAuthn 5 Origin binding, challenges, signCount, weakest-path fallbacks
Mutual TLS 5 Identity verification, cert lifetimes, gateway bypass, use cases
Request Signing 5 Canonicalization, timing oracles, webhook verification, replay

Authorization

Quiz Questions Covers
Access-Control Models 5 ACL, RBAC, ABAC, ReBAC, role explosion
Scopes & Claims 5 Scope vs. user permission, token contents, insufficient_scope
Object & Function Level 6 BOLA, BFLA, BOPLA, nested and batch resources
Policy Engines & Enforcement 5 PEP/PDP/PIP, fail closed, gateway limits, list filtering
Multi-Tenancy & Delegation 6 Tenant derivation, row-level security, token exchange, impersonation
Testing & Pitfalls 6 Two-user test, route inventory, TOCTOU, channel consistency
Worked Example: RBAC API 5 Permission matrix, visibility filters, SoD, 404 vs. 403

Cross-cutting

Quiz Questions Covers
Cross-cutting Practices 6 Logging, rate limiting, credential lifetime, TLS, status codes, scheme selection