Did they really say that? (I haven't seen the movie.) If they did, then they certainly got it wrong. Obviously, no cadet is going to believe he's going to die if he doesn't pass the test."The purpose is to experience fear in the face of certain death. To accept that fear, and maintain control of oneself and one's crew. This is a quality expected in every Starfleet captain."

The test - at least, as seen in TWOK - is obviously meant to test a cadet's problem-solving abilities (and tenacity) and his composure under stress. The stress of failing a crucial Starfleet exam would be enough to gage that composure, especially as it became more and more clear to the cadet that he could find no solution to the crisis.
(Incidentally, being a no-win scenario, I wonder if one of the things being evaluated is whether the cadet launches the recorder marker in time.
