In ancient Korea it had a different effect and tended to fix certain classes into the "classes from which the bureaucracy could be reliably drawn from". They still had the academies, but it tended to be the same class/castes who attended and passed the exam. In theory it was open, but in practice it worked this way [1].
Some of the preserved academies still exist and are major UNESCO sights. [2]
Modern South Korea still uses an examination system for civil servants [3], but has lost the caste system so in an interesting way has ended up more like the ancient Chinese concept. It tests civics, history, data analysis, etc. and I believe there are different tests for different levels of seniority and are required for promotion. It's common for test takers to have spent several years in dedicated study after university to prepare for the exam [4].
A semi-equivalent might be like a bar exam in other countries.
1 - https://www.amazon.com/History-Korea-Antiquity-Present/dp/07...
2 - https://whc.unesco.org/en/list/1498/
3 - https://en.wikipedia.org/wiki/Republic_of_Korea_public_servi...