What do we archive in exams? Is it a necessity for public exams? Why do we need to publicize marks? To practice you can have mock exams. Positions in class. Is it a means for inferiority complex? Is it equal to sports where winning is a necessary part.
Role model in sports motivates others. In education it demoralize others.
Public exams are necessary in identifying the smart.