What do you gain from asking this question in an interview? Let's be honest, you've spotted it online and used it to show that you have a higher understanding.
If I had an interviewer ask me this it would be a massive red flag.
You are interviewing a candidate - it isn't the place to recycle someone else's online answer to flex
No, we’ve actually had this issue in production. I did not “spot it online”. The question I ask is framed how the bug appeared for us at the time. It’s a great way to screen out people who are too academic and do not consider the limitations of the systems they use.
This isn't a competition. They aren't in a classroom where the professor is asking a trick question. This person wants to hire someone who can spot the bug, understand it, and propose solutions.
Who cares if the candidate comes from a field where this isn't common? That's the point. You want to hire people who would know what to do if they came across it.
It's amazing the amount of hostility here towards a perfectly sensible interview question and process.