The point of an exam is that it’s a crude instrument to determine a students mastery of the subject matter. If that is not discernible because some students were able to memorize answers vs. others that actually learned the content what’s, the value of the exam is diminished.