PreTested

Report · Senior Backend Engineer (Node.js) · First round

Lucía Herrera

For Kestrel Pay · interviewed by Marta Gil, Talent Partner

Overall score

7.1 / 10

Solid
Date
12 Nov 2026, 10:00 CET
Length
31 min, recorded with consent
Questions asked
10 of 11, plus follow-ups
Listen-for points
28 of 39 covered
Proceed

Recruiter’s recommendationSend to the hiring manager round. Strong on Node.js performance and data, with a real production story behind every answer. AWS operations is the gap worth testing next: she knows the services but hasn’t owned a deployment pipeline.

  1. Node.js: performance and dataWeight 30%8.4Strong
  2. Node.js: architecture and reliabilityWeight 30%7.4Solid
  3. REST API designWeight 20%7.0Solid
  4. AWS: deployment and operationsWeight 20%5.0Developing
  5. Terraform: safe changesNot reached in time—Not assessed

How the 31 minutes were spent

Intro, last system built Performance Architecture APIs AWS Her questions
00:0005:3011:3018:1522:0026:4531:00

Recruiter’s notes

Strengths, with evidence

  • Measures before changing anything; diagnosed event-loop blocking from a real incident [06:12]
  • Chose cursor pagination over offset and explained why at their data size [08:20]
  • Separates expected from unexpected errors and logs them differently [14:40]
  • Thinks about clients when changing an API: versioning and deprecation windows [20:55]

Recruiter’s notes

For the next round to probe

  • Has she owned a CI/CD pipeline end to end, or used one someone else built?
  • Rollback plan for a bad deploy: she named blue/green but not how she’d trigger it
  • PUT vs PATCH was right, but she couldn’t name status codes: worth one quick check
  • Terraform wasn’t reached: ask one question on reviewing a risky plan

Node.js: performance and data

8.4 / 10 · Strong
1.1

Tail latency on one service is rising, but downstream response times are flat. How do you find the cause?

9 / 10ExpertWeight 8

CoveredCorrelate latency with event-loop delay
CoveredProfile synchronous hot paths
CoveredCheck GC and memory pressure
CoveredMeasure before changing anything

Main (9/10): At [05:40]–[07:30] she reasoned from the constraint given (“if downstream is flat, the time is in our process”), went to event-loop delay first and named the profiling tool she’d use. Unprompted, she gave a real incident with the cause and the fix. All four points covered without follow-ups.

[06:12] CandidateWe had exactly this last year: a JSON.parse on a 4 MB webhook payload was blocking every request behind it. We moved parsing to a worker thread and p99 dropped from 1.8 seconds to 220 milliseconds.
1.2

A listing endpoint gets slower as the table grows. Walk me through fixing it.

8 / 10StrongWeight 7Follow-up asked

CoveredCursor vs offset pagination
CoveredIndex matching the sort order
CoveredCheck the query plan
MissedCaching and when not to (asked, not answered)

Main (8/10): At [07:35]–[09:10] she switched from offset to cursor pagination and explained why offset degrades at their size, and checked that the index matches the sort. Follow-up: asked about caching, she said “probably Redis” without saying what to cache or how to invalidate it, so one point is marked missed.

1.3

What would you test first in a payments service, and at what level?

8 / 10StrongWeight 5

CoveredIntegration tests on money paths first
CoveredIdempotency of retries
Not askedContract tests with providers

Main (8/10): At [09:55]–[11:30] she put integration tests on the charge and refund paths first and named idempotent retries as the bug she’d most fear. Contract tests weren’t probed, so they don’t count against her.

Node.js: architecture and reliability

7.4 / 10 · Solid
2.1

You inherit an Express service where one controller keeps growing. How would you refactor it without slowing delivery?

7 / 10StrongWeight 7Follow-up asked

CoveredSplit routes, validation, business logic, persistence
CoveredTests that pin current behaviour first
CoveredRefactor incrementally, behind the same API
MissedExplicit dependencies for testability

Main (8/10): At [11:35]–[13:10] she separated the layers clearly and, before touching anything, wrote “characterisation tests” to pin today’s responses. Follow-up (6/10): asked how she’d make the services testable in isolation, she described mocking modules globally rather than passing dependencies in.

[12:02] CandidateThe first PR doesn’t move any code. It just adds tests that record what every endpoint returns today, so the refactor can’t silently change behaviour.
2.2

How do you handle errors in a Node.js API so that clients get useful messages and the process doesn’t crash?

8 / 10StrongWeight 7

CoveredCentral error middleware with status mapping
CoveredExpected vs unexpected errors
CoveredStructured logs with a request id
CoveredCrash, then restart under a supervisor

Main (8/10): At [14:05]–[16:10] she distinguished validation errors (return a 4xx with a clear message) from bugs (log with the request id, return a generic 500), and said an unhandled rejection should end the process and let the orchestrator restart it rather than limp on. All four points covered; no real incident given, which keeps it at 8.

[14:40] CandidateA bad password is not an error in my logs. A null pointer is. They go to different places and only one of them pages someone.
2.3

You deploy a new version while the old one is still processing jobs from a queue. What can go wrong, and how do you shut down safely?

7 / 10StrongWeight 5Follow-up asked

CoveredHandle SIGTERM and stop taking new work
CoveredFinish or release in-flight jobs
CoveredIdempotent jobs, because retries happen
MissedTimeout before a forced kill

Main (7/10): At [16:15]–[17:40] she named the SIGTERM handler, stopping the consumer, and making jobs safe to run twice. Follow-up (6/10): asked what happens if a job takes longer than the shutdown window, she wasn’t sure the platform would kill the process after a grace period.

REST API design

7.0 / 10 · Solid
3.1

A client wants to update one field on a customer record. Which method and status codes do you use, and why?

6 / 10CompetentWeight 6Follow-up asked

CoveredPATCH for partial, PUT for full replacement
CoveredValidate the fields being changed
MissedConcrete status codes (200/204, 400, 404, 409)
Not askedIdempotency of PUT vs PATCH

Main (7/10): At [18:25]–[19:30] she chose PATCH and explained the difference from PUT correctly. Follow-up (5/10): asked for the status codes she’d return, she said “the usual ones” and named only 200 and 400, missing 404 and the conflict case.

3.2

You need to rename a field that 40 partner integrations already use. How do you ship the change?

8 / 10StrongWeight 6

CoveredAdd the new field, keep the old one
CoveredAnnounce a deprecation window
CoveredMeasure who still uses the old field
Not askedVersioned endpoints as the alternative

Main (8/10): At [20:35]–[22:00] she proposed returning both fields, logging which partners still read the old one, and removing it only when usage reached zero. Practical and client-aware.

[20:55] CandidateYou can’t break 40 partners on a Tuesday. I’d ship both fields, log who still reads the old one, and email those people by name.

AWS: deployment and operations

5.0 / 10 · Developing
4.1

A deploy just made error rates spike. What happens in the next ten minutes?

5 / 10CompetentWeight 6

CoveredRoll back first, investigate second
CoveredCheck dashboards and alarms
MissedHow the rollback is actually triggered
MissedStaged rollout to limit the blast radius

Main (6/10): At [22:15] she put rollback before investigation, which is the right instinct. Follow-up (4/10): asked how she’d roll back in their setup, she said “the platform team handles that” and couldn’t describe the mechanism. Staged rollouts weren’t mentioned when probed.

[23:02] CandidateHonestly, at my last job the platform team owned the pipeline, so I’d ping them and look at CloudWatch while they rolled it back.
4.2

Where do database passwords and API keys live in your AWS setup, and how do they reach the service?

5 / 10CompetentWeight 5Follow-up asked

CoveredNever in the repo or the image
CoveredA managed store (Secrets Manager or SSM)
MissedIAM role scoped to only what the service reads
MissedRotation without a redeploy

Main (6/10): At [24:35]–[25:40] she ruled out secrets in code and named Secrets Manager. Follow-up (4/10): asked how the service is allowed to read them, she said environment variables “set in the console” and didn’t mention IAM roles or rotation.

Section 5, Terraform: safe changes, (one question) wasn’t reached in the 30 minutes. It is marked not assessed and left out of the overall score rather than counted as zero.

How every answer is scored

One written scale for every candidate for the role

1–2Incorrect

Wrong or couldn’t engage with the question.

3–4Partial

Knows the terms; no reasons when asked why.

5–6Competent

Most points, with prompting on trade-offs.

7–8Strong

Points unprompted, trade-offs, a real example.

9Expert

Also sharpened the question’s own assumptions.

10Exceptional

Taught the hiring manager something. Rare.

Questions and listen-for points were drafted from Kestrel Pay’s job description and approved by the hiring manager before the first interview. Every score quotes the candidate with a timestamp, and the recording and transcript come with the report, so any score can be checked in a minute. The recruiter can adjust any score before sharing. Scores are by section and weighted, never one overall impression.

Get a report like this for your next role

PreTested drafts the interview from your job description, assists the recruiter during the call, and writes this report after the call. Three interviews free within 30 days, no card; then $49 a month per recruiter.

Try it free