Quiz: Database Indexing
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.
Figure — Query tenant + cursor → B-tree root (seek); B-tree root → Tenant range (narrow); Tenant range → Recent failed keys (ordered scan); Recent failed keys → Table rows (fetch if needed); Table rows → 50 results (limit)
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 might a status-only index be ignored when nearly every record is active?
Why might a status-only index be ignored when nearly every record is active?
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.