at the thought of (~を考えると): She trembled at the thought of the upcoming exam. (今後の試験を考えると彼女は震えました。)

She trembled at the thought of the upcoming exam.