Quizzes

Bun blog practice test

Ranked exam: Bronze 10 (8 to pass), Silver 10 (8), Gold 10 (8). Questions follow the Bun, Hono, SQLite, htmx and deployment stack used by this blog.

Gold · 10 random questions · Exam mode

My papersKeep up to 3 per tier; a 4th paper removes the oldest.
1ConceptWhat does the session cookie actually contain?
2ConceptWhat is the more reliable way to seed DB tests?
3ConceptWhy is a passing typecheck not enough?
4ConceptWhy accumulate byte XOR instead of using ===?
5ConceptHow does adminOnly handle anonymous and non-admin users?
6ConfigWhat must exist under BLOG_ROOT for the compiled binary?
7ConceptWhat must be guaranteed when deploying the compiled binary?
8ConceptHow does the binary create tables without db/schema.sql?
9ConfigWhat are the key session cookie attributes?
10ConfigWhat timing matters when tests set BLOG_DB_FILE?
Back