Now the barrier to an answer is zero. They are basically watching a YouTube video on how to X, seeing step by step instructions feeling like they are doing it, and the moment they swing a real hammer they are whacking themselves in the crotch. It might get better after a few years, but this stuff is just now hitting mainstream for the masses. ChatGPT has only been in mainstream use for about 3 years.
Not sure what the solution is - there's no possibility of stopping students using AI to complete their homework/assignments etc. But let me flip the question - do they need to be stopped? Why not let them fail at the exam? As long as the exam acts as a filter, their usage of AI to "cheat" their learning is inconsequential to anyone but themselves.