Indeed, «сдать экзамен» has two meanings in Russian: ‘take the exam’ and ‘pass the exam’.
So you can use this verb alone for all cases:



I took the exam.
I hoped that I would pass
but I...