SpinTheMic
Pro

Interview practice question

Reproducing a production-only bug

Backend Engineering · Testing · Experienced

A bug occurs only in production, about once a day, and you cannot reproduce it locally. How do you approach it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Gather data: logs, traces, request details.
  • Look for patterns: specific data, time, load, instance.
  • Add targeted logging/metrics.
  • Reproduce conditions: data shape, concurrency, config.
  • Write failing test once reproduced.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics