For any given assessment, the total attempts allowed is pre-defined. If you have exhausted the number of attempts allowed but haven’t managed to earn the passing score, you would have essentially failed the assessment. Administrators can reset the number of attempts at their discretion.
Also, you can request for additional attempts if the admin has allowed the learners to request for attempts for the assessment.