Interview questions for a junior backend engineer.
Junior hires should be evaluated on fundamentals and coachability, not esoterica. These ten do that without algorithm-bowl theatrics.
The questions.
-
01technical baseline · postgres
You have a Postgres table with 500M rows of loan applications. A query filtering by applicant_id (indexed) and status (not indexed) takes 3 seconds. Walk me through how you'd diagnose and fix this.
Strong answerAsks about workload before jumping to solutions · proposes EXPLAIN ANALYZE · mentions partial or composite indexes, not just 'add an index' · seniors reference statistics, vacuum, or plan cache unprompted.Weak answerImmediately says 'add an index on status.' Doesn't ask about cardinality. Doesn't mention the query planner. -
02situational medium · teammate-conflict
A teammate ships a change you think is wrong after the fact. Already in production. What do you say, what do you do?
Strong answerSeparates the product concern from the relationship concern. 1:1 first. Focuses on systemic change (PR review, tests) — not on blame.Weak answerAvoids the conversation or jumps to escalation. Assigns blame. No systemic improvement suggested. -
03communication baseline · explaining
Explain recursion to a non-programmer.
Strong answerUses a concrete analogy (matryoshka dolls, mirrors, etc). Avoids jargon. Checks for understanding.Weak answerJumps into function-calls-itself definition. Condescending or confusing. -
04technical hard · observability
What does a useful logging + metrics + tracing stack look like for a service with 100M requests/day?
Strong answerDistinguishes logs/metrics/traces by use case. Knows sampling strategies. Structured logs. Cardinality discipline. Mentions specific tools without being dogmatic about them.Weak answerConflates logs and metrics. No sampling strategy. Suggests logging every request body (cardinality disaster). -
05experience baseline · resume-probe
You mentioned a college / internship project. What was the hardest part?
Strong answerSpecific hard thing. Specific resolution. What they learned — new skill or mental model, not just 'teamwork.'Weak answerGeneric answers about 'time management' or 'learning new tech.' -
06situational baseline · stuck
You've been stuck on a bug for 3 hours. What do you do?
Strong answerAfter reasonable time (not 3 hours), asks for help. Articulates what they've tried. Doesn't spiral.Weak answerKeeps grinding alone. Or gives up without articulating what they've tried. -
07technical medium · api-design
You're designing an API endpoint that returns a user's feed. Pagination strategy? Why?
Strong answerDiscusses cursor vs offset-based pagination · knows when each is appropriate · mentions stability under inserts · sets sensible default + max page size · considers ETag/If-None-Match for caching.Weak answerPicks offset pagination by default without considering stability. No max page size. No caching thought. -
08technical baseline · git
You committed to the wrong branch. How do you fix it?
Strong answergit stash, switch branch, git stash pop — or cherry-pick. Doesn't use force push on shared branches.Weak answerPanics. Or force-pushes on main. -
09situational medium · incident-response
It's Saturday 11pm. A loan-disbursal job is failing silently. The team that built it no longer exists. Walk me through what you do in the next hour and next 48 hours.
Strong answerFirst hour: triage scope + comms to right people + restore service before root-causing. Next 48h: postmortem, takes ownership of the service, suggests durable change to prevent silent failures.Weak answerStops at 'check the logs.' No comms plan. Next 48h is 'fix the bug.' -
10technical hard · scaling
Walk me through how you'd scale a write-heavy service from 100 to 10,000 writes/sec. What breaks first?
Strong answerStarts with profiling current bottleneck, not with 'add Kafka.' Acknowledges write-amplification, index bloat, replication lag. Discusses shard keys + hot-partition mitigation.Weak answerJumps to 'we'd add a queue and scale horizontally' without identifying where the current bottleneck is.
Lucida runs round one for you, and books the shortlist on your calendar.
Adaptive interviews tuned to the role, rubric-backed scoring, and a founder-ready briefing for every candidate who clears the bar. You do the human call.