There are two ways to allow additional quiz attempts without changing the attempt limit for all students:
Option 1: Delete the failed attempts
Go to the Quiz.
Click Attempts.
Locate and check the failed attempts you'd like to remove.
Click Delete selected attempts.
? Option 2: Allow additional attempts for a single user
This keeps the record of previous failed attempts while giving the student more chances.
Go to the Quiz.
Click More > Overrides.
Click Add user override.
In the Search box, start typing the student’s name and select them when it appears.
In the Attempts allowed dropdown:
Set the total number of attempts the student should have, including any failed ones.
For example, if they’ve failed 2 times and you want to give 2 more tries, set this to 4.
Click Save.