High school exit exam?

A high school exit exam is needed in the United States for students to be able to graduate.

If a student does not pass the test the first time, education; this site, there are multiple opportunities to retake the test within a certain number of years depending on the educational laws of the state.