Is there a waiting period to retake the exam if I failed in any attempt?

If you fail in the exam for the first time, there is no waiting period, however, if you fail in the exam for the second time, there is a waiting period of 5 days.