The reality is that you should be learning how to prove, not memorizing proofs.
The student who was most prepared would be able to derive proofs (by the process that was taught, like knowing to apply a theorom, or being comforatable with induction, etc) in a timely manner.
The exam is there to see how well you grasp the material taught, not how good at winging it you are (which is a very useful skill of course, but not the one being tested)
Maybe it's just me, but I would wager that a student that can derive a proof is more likely to understand that proof than one who writes it from rote.