The ancient imperial examination was divided into many stages, including government examination, scientific examination, rural examination, public examination and so on. Among them, the official examination is the stage of obtaining scholars. Generally, the provincial educational administration (roughly equivalent to the current provincial education director) presides over the examinations of students from all provinces in this province, and all the students who succeed in the examinations are scholars. Only by taking a scholar can you qualify for the provincial examination. The winner is a juren, and the provincial examination is generally an examination for provincial scholars organized by each province. Then there will be an exam. Juren from all over the country will go to Beijing to take the exam. The successful candidate is Gong, which is usually held once every three years. Finally, the court exam, that is, the emperor personally assessed these palace officials and determined the final ranking, one, two and three.
It may be more intuitive to illustrate with a flowchart: College Entrance Examination (Scholar)-Provincial Examination (Juren)-National Examination (Gong Shi)-palace examination (Jinshi).
The harder it is, the harder it is. I feel that the scholar should not be too difficult to take the exam. It is difficult for juren and Jinshi to pass the exam, especially Jinshi. That is, thousands of outstanding students from all provinces in China are competing for 300 places of scholars, and those who are admitted are definitely national learning elites. Many famous people in history have never been admitted to Jinshi, such as Xu Wenchang, a great genius of the Ming Dynasty, and Harry and others. No wonder Jin Fan will be in that scene after his promotion.
Those who pass the general examination can be directly awarded official positions, or stay in Beijing Hanlin Academy, or be released as grass-roots officials such as county magistrates. As for the scholar, there are no direct officials, and I don't know if there are any special circumstances. Generally speaking, a juror is not directly awarded an official position, but if there is a vacancy and there is no Jinshi to supplement it, it can also be awarded an official position.