You are allowed 2 attempts on an exam. After that, if you still did not pass, the course will be reset and you will need to take it over again.