Multiple submissions on random block question

I would like to be able to assign a student a question randomly from a block and allow resubmission of the file, rather than allowing multiple submissions where it draws a different random question each time.