Exams and cheating are just parts of the same problem. It's unfortunate that academia can't wrap its mind around this and design better learning experiences for students and teachers.
Is the system perfect? Obviously not. Are the rules of the game laid out in advance? Yes. Do you agree to them as a student? Yes. Is there a clear path to success on your own merits, through your own effort. Yes.