100% agreed on this. All the "trick questions" in this thread are basically intended for the interviewer to flex on the candidate.
A better twist on these would be "You write this code, and instead of getting X behavior like you wanted, you get Y behavior. How would you go about debugging this?"
Plus, the questions about "When do you not use this" are also great, because not only do you weed out candidates that are fully invested in one popular thing, but you also get some information on their priorities in choosing a tool for a job.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.