Earlier quoted context omitted.
If the person writing the questions is a Senior Engineer already and knows how to evaluate the answers properly for correctness, you probably would not be able to tell, even if they've only had minimal exposure to let's say, Ruby or Python as opposed to JavaScript/TypeScript. Or writing advanced SQL queries when they don't do this very often.
You're assuming the red flag relates to technical correctness. It doesn't. It's a red flag about mindset and diligence. Using genAI is fine, using it to bolster a lack of underlying knowledge as I read it, is a red flag.
It cant replace the mindset of a human, but what I'm basically saying here is with GPT-4 and good prompting skills, you can be alot more brave when it comes to new unfamiliar tech. That's an advantage in a fast changing tech landscape.