The solution of course is not to prevent cheating, but to make it irrelevant. We need to find new ways to assess the student performance, such that cheating will be unnecessary or impractical, i.e., not worth it. There are ways for small classes (project based assessment), but these do not scale up easily.