You would take an examination because you want to measure your knowledge of a certain subject