Hermione Granger is renowned for her class smarts and she prides herself on her academic abilities. As a result, during her third school year her meeting with a boggart in defence against the dark arts class resulted in the boggart taking the form of Professor McGonagall telling her she had failed her exams.