Are there guidelines for minimum time intervals between two exams to prevent being contagious?

No. Examinations must be planned without overlap. Further criteria are not manageable.