You would take an exam because you want to get a good mark for that subject.