She was congratulated by her teacher on her brilliant success in the examination. (Passive Voice)
Answer: Her teacher congratulated her on her brilliant success in the examination
Explanation
Her teacher congratulated her on her brilliant success in the examination means امتحان میں شاندار کامیابی پر اس کی ٹیچر نے اس کو مبارکباد دی
We cannot change preposition while changing the voices.
Active Voice: On
Passive Voice: On