Answer:
D. I studied for an hour to prepare for my exam.
Step-by-step explanation:
The preposition "for" is used in the sentence to indicate the purpose or reason for studying, which is to prepare for the exam. In this case, "for" is functioning as a translation of the Spanish preposition "por," which often expresses the purpose or motive behind an action.