Backend engineer · Interview kit
Scorecard
Agree these before the first interview and don't change them during the search. Each interviewer owns some competencies and submits scores before the debrief.
| Competency | Questions | Rating (1–4) |
|---|---|---|
| API and data design | 2 | To be filled in by the interviewer |
| Reliability and failure handling | 2 | To be filled in by the interviewer |
| Performance | 2 | To be filled in by the interviewer |
| Code quality and testing | 2 | To be filled in by the interviewer |
| Collaboration and ownership | 2 | To be filled in by the interviewer |
Rating scale
- 1 Strong no Clear evidence against, or no evidence at all.
- 2 No Some evidence, but below what the role needs.
- 3 Yes Solid evidence that meets what the role needs.
- 4 Strong yes Specific, repeated evidence above what the role needs.
Questions
API and data design
-
Tell me about an API you designed that other teams used. What would you change about it now?
What good looks like
Describes who used it and how they gathered feedback, and the compatibility rules they followed. Names real flaws such as inconsistent errors or missing pagination and explains how they would fix them safely.
-
Design a table structure for employee leave balances where balances can be adjusted by an approval or a manual correction.
What good looks like
Keeps a ledger of changes rather than overwriting a number, so history is auditable. Asks about concurrency, reversals and reporting. Considers constraints that prevent invalid states.
Reliability and failure handling
-
A background job sends a payment instruction and crashes after sending but before recording success. What happens on retry?
What good looks like
Recognises the duplicate risk, proposes an idempotency key or a state check with the receiving system, and records intent before acting. Mentions how they would find stuck cases.
-
Tell me about an outage or data problem caused by something in your code. What did you learn?
What good looks like
Takes ownership, describes how it was detected and fixed, and the follow-up changes such as tests, alerts or safer deployment steps. Does not blame tools or colleagues.
Performance
-
A report endpoint takes forty seconds for the largest customer. How would you approach it?
What good looks like
Looks at the query plan and data volume, then picks among indexes, pre-computation or pagination based on evidence. Checks that the faster version returns the same results.
-
When would you add a cache, and what could go wrong when you do?
What good looks like
Adds one only after measuring, and names invalidation, stale data and cold-start behaviour as risks. Considers who sees stale data and whether that is acceptable for this feature.
Code quality and testing
-
Here is a function that applies a discount and has no tests. What cases would you write first?
What good looks like
Starts with the existing behaviour and edge cases such as zero, rounding, stacking rules, limits and negative values. Considers tests at the boundary of the money logic, not only typical amounts.
-
How do you review a pull request that changes who can see employee records?
What good looks like
Checks every route and query for access rules, looks for ways to bypass them, asks for tests of both allowed and denied cases, and wants an audit trail of access where appropriate.
Collaboration and ownership
-
Describe a time you had to change a data model that many other teams depended on.
What good looks like
Planned a gradual migration with both versions working for a while, communicated early with consumers, and measured progress. Kept a rollback option and cleaned up the old version afterwards.
-
Tell me about something in your service that you improved without being asked.
What good looks like
Spotted a recurring problem from alerts or support, checked it was worth fixing, and made the change safely. Shared the result with the team and left documentation behind.