It reproduces once in a thousand runs, never on your laptop, and the customer's data is wrong. This question separates engineers who name the race and reach for the right lock from those who sprinkle mutexes and pray.
A service you deployed at a customer corrupts a record intermittently under concurrency. How do you find it and fix it?
It reproduces once in a thousand runs, never on your laptop, and the customer's data is wrong. This question separates engineers who name the race and reach for the right lock from those who sprinkle mutexes and pray.
Updated Aug 2026 · Grounded in real Forward Deployed Engineer interview loops and written to a senior-engineer editorial bar.
Look for the read-modify-write race being named precisely and the optimistic-vs-pessimistic choice made on contention level, not vibes. Strong candidates know optimistic (version column + compare-and-set, retry on conflict) beats pessimistic locking under low contention and avoids the deadlock surface entirely. Probe with 'now two transactions deadlock' to test lock-ordering knowledge, and 'it only happens at the customer, not in your tests' to test how they reproduce a concurrency bug they can't easily attach to.
No comments yet — be the first to share your approach.
