The security measures follow a cheating scandal that forced a rerun of a test taken by two million prospective medical students.