Hello,
I can only answer your second question. In Moodle 3.9 the quiz module allows to set up an extra restriction on attempts.
Initially, you need to set up your quiz with 2 attempts. Regardless when the first attempt is submitted, a student has to wait 2 weeks for his second attempt.