Authors can limit the amount of quiz attempts users can take within a course. The Limit Quiz Attempts option designates the number of times a user can attempt to achieve the required percentage score for all quiz questions.
Users who exhaust their allotted attempts will not be able to retake the course. If the course is part of a program, users will still be able to continue to the next program item.
The default value for the Limit Quiz Attempts option is n/a, which allows users unlimited quiz attempts.
Open Author Menu
In the Global Navigation menu, click the Application Switcher icon . Then, click the Author menu option .
Note: The Global Navigation menu may differ depending on what is enabled in your account.
Set Quiz Attempts Limit
Click the Limit Attempts toggle button . In the Attempts to Pass field , enter the number of attempts you want allotted to users.