If they can produce working code that solves the problem, and explain how it works, that is more than “just com[ing] back with the ChatGPT answer.” I'm not saying ChatGPT doesn't have its own issues, but this is not one of them.

I've had candidates who successfully did this to explain how a SQL JOIN works. But I'm not looking for candidates who can read a GPT prompt; I'm looking for people who deeply understand how a join works.