The exam needs to be signed, but as long as you pass the exam, the system will default to the candidate's passing. If you fail to sign your driver's license after passing the exam, the score will not be cancelled, but it will affect the issuance of driver's license.
Article 46 of the Regulations on the Application and Use of Motor Vehicle Driving License stipulates that the examination transcripts of all subjects shall be signed by the applicant and the examiner, and motor vehicle driving licenses shall not be issued without signature. It is best to sign after the exam, so as not to affect the driver's license.