試験に

the exam

→ 試験
phrase Very common #924
the exam に marks the exam as the target of an outcome, as in passing or failing it. English usually has no separate word for に in these expressions.
JA: 試験に合格できてうれしい。
EN: I’m glad I passed the exam.

試験にパスしたければ 教科書のとおりに書きなさい

If you want to pass the exam, write exactly as it says in the textbook.

— きっと、うまくいく (2009)

彼はきっと試験にパスすると思う。

I'm sure he'll pass the exam.

彼は試験になんとか合格した。

He managed to pass the exam.

彼は試験に落第して初めて自分の怠惰を後悔した。

It was only after he failed the exam that he regretted his laziness.

ケンは熱心に勉強しなかったので試験にしくじった。

Ken failed the exam because he didn’t study diligently.

友達の父親が私の指を ドアにはさんだのピアノの試験に 合格した日よ

It was the day my friend's father caught my finger in the door—the day I passed my piano exam.

— ふたりのベロニカ (1991)

兄は何度も試験に挑戦して、最後には合格した。

My older brother took the exam multiple times and finally passed.

ケンは十分熱心に勉強しなかったので、試験にしくじった。

Ken failed the exam because he didn’t study hard enough.

彼がもっと熱心に勉強していたら試験にパスしただろう。

If he had studied harder, he would have passed the exam.

彼は試験に一番で合格した。

He passed the exam at the top of his class.

もう一度試験に挑戦しなよ。

Try taking the exam again.

彼は試験にパスするように大いに勉強する。

He studies hard to pass the exam.

うれしいことに彼女は試験にパスした。

Happily, she passed the exam.

彼女は一生懸命勉強したが、試験に不合格した。

She studied hard, but she failed the exam.

彼が試験に失敗するなんて私は予想もしなかった。

I never expected him to fail the exam.

まだ試験に 合格したいのか?

Do you still want to pass the exam?

— ピエロがお前を嘲笑う (2014)

試験に失敗したくないよ。

I don't want to fail the exam.

彼は試験に失敗しないでしょう。

He probably won’t fail the exam.

どんな試験にも受かるように一生懸命勉強しなさい。

Study hard so that you can pass any exam.

彼女は注意が足りなかったから、試験にはとうてい合格できない。

She wasn't careful enough, so there's no way she'll pass the exam.

おそらく彼は試験にパスするだろう。

He will probably pass the exam.

彼女は試験にトップで合格した。

She passed the exam at the top of her class.

熱心に勉強しないと試験に失敗するでしょう。

If you don't study hard, you'll probably fail the exam.

試験には受かったの?

Did you pass the exam?

彼はその試験に一回で合格した。

He passed the exam on his first try.

彼は試験に見事に成功した。

He passed the exam with flying colors.