This type of exam checks how well you can perform tasks. It can happen in many subjects.
The math exam was very challenging.
He felt nervous before the history exam.
This figurative use shows that exams can also mean tests of personal qualities, not just academic tests.
Moving away for work was an exam of her strength.
The long hike was an exam of endurance.