Here's why:
* "was" is the auxiliary verb (helping verb) in the past tense of the verb "to be".
* "set" is the past participle of the verb "to set", forming the passive voice.
Therefore, the entire phrase "was set" functions as the verb in the sentence, indicating the action of the exam being scheduled.