Your sister might be experiencing anxiety attacks during exams which could make her forget what she's studied. In this case, relaxing before exams, being confident about her revision, deep breathing and trusting herself could be a way forward.
Next Steps
A counselling psychologist could do an assessment and decide what could be the appropriate solution.