Is there a maximum length for exams that have to be written with a mask?

The duration of the exam is specified in the SPP (Study and Examination Plans).