Generally speaking, the second situation is more common when the thesis defense fails. Most defense teachers will not give the respondent a qualification directly, but will give him a second chance to defend himself. Candidates can take part in the second defense as long as they revise their papers according to the teacher's suggestion and submit the second defense application within six months. It will be invalid after half a year.
If the second reply still fails, the candidate can only get the master's degree certificate of Zhejiang University by retaking the course, retaking the Shen Shuo exam and thesis defense. This kind of situation is relatively rare, so candidates need not worry too much. You can study here: /64.html School.