An exam is a test administered to assess someone's level of understanding or knowledge, or a medical procedure designed to determine something about the state of your health. (noun)
A test you take to gain admittance to a school is an example of an entrance exam.
When your doctor gives you a physical and checks your overall health, this is an example of a medical exam.