Fundamental attribution bias or self-serving bias

Lindy received the highest grade on her midterm in her history class. She attributed her success to studying harder for the midterm than she had for any other exam. If she had done poorly on the midterm, she would have contributed the failure to an unfair exam or bad luck. Did the fundamental attribution bias or self-serving bias influence her perception of the situation? Explain.