Backend Interview Questions
Senior backend interviews probe depth and trade-offs, not trivia bingo.
Introduction
Senior backend interviews probe depth and trade-offs, not trivia bingo. This bank organises questions across Java/JVM, Spring Boot 3, data, distributed systems, system design, and behavioural stories — always with TechLearningPRO Orders as your running example.
Prepare stories: an incident, a trade-off you owned, a time you led without authority. Record practice answers; cut filler.
Java 21 virtual threads, Security 6, and observability will show up — be ready.
Purpose of this lesson
Rehearse senior backend interview categories with Orders-grounded answers and behavioural STAR stories.
Understanding the topic
Categories you will be drilled on.
- Java/JVM — memory model, GC, virtual threads, records.
- Spring Boot — auto-config, transactions, Security 6, JPA pitfalls.
- Data — indexing, isolation levels, sharding, migrations.
- Distributed — CAP, retries, idempotency, sagas, EDA.
- System design — design X for Y RPS / Z TB.
- Behavioural — incidents, trade-offs, mentoring, conflict.
Step-by-step explanation
- Pick one category per day; answer 8 questions aloud.
- Attach each technical answer to an Orders story (metric, decision, outcome).
- Prepare 5 STAR behavioural stories covering failure and leadership.
- Do a 45-minute mock with a peer including one design prompt.
Informative example
Answer skeleton — 'Tell me about an Orders outage'.
Situation: Black Friday p99 checkout 4sTask: restore SLO < 400ms without risky rewriteAction: traces → N+1 on lines; added @EntityGraph + index; Redis for SKUResult: p99 380ms; added regression test + runbook stepLearning: measure before rewrite; open-in-view stayed falseTechnical follow-ups to expect:- Why not cache entire Order aggregates?- How did you prevent stampede?- What alert fires next time?
Real-world use
Candidates who only recite annotation definitions stall when asked 'what broke last time you shipped Orders?' Interviewers at TechLearningPRO partner companies score story quality as highly as correctness.
Security implications
Expect security probes in senior loops.
- Be ready on IDOR, secrets management, and audit logs.
- Never invent production credentials in a story — speak in placeholders.
- Know how Orders locks down Actuator and admin routes.
Best practices
- Lead with the thesis sentence, then evidence.
- Name alternatives you rejected.
- Ask clarifying questions in design rounds.
Common mistakes
- Answers without numbers (RPS, latency, error rate).
- Blaming tools without owning a decision.
- Design interviews that never mention failure modes.
Advanced interview questions
Interview Prep
Practice concise answers, then expand each card for the explanation.
1BeginnerQuestionHow do you explain constructor injection in an interview?+
Answer
2AdvancedQuestionGive a distributed-systems question you should expect.+
Answer
3BeginnerQuestionWhat makes a strong behavioural answer?+
Answer
Hands-on exercise
Interview drill week. Day 1–2: JVM + Boot (16 Qs). Day 3: Data + distributed (12 Qs). Day 4: Design WhatsApp-lite messaging. Day 5: Two behavioural STAR stories recorded on video. Submit: notes with self-scores and one improved answer rewrite.
Summary
Interview prep closes the practice module for batch 09. Continue with mock projects and case studies for portfolio depth.