Step 1: Understanding the Question:
A person with strong sexual urges turns his or her energy into religious fervor. We must name the defence mechanism.
Step 2: Check option (1) Reaction formation:
In reaction formation the person adopts behaviour that is the opposite of the unacceptable urge. Intense religious fervor in place of sexual urges fits this and is the NTA key answer.
Step 3: Check option (2) Repression:
Repression pushes a thought out of awareness. It does not turn it into a contrary behaviour.
Step 4: Check option (3) Projection:
Projection places one's own unacceptable feelings on another person. It does not fit.
Step 5: Check option (4) Displacement:
Displacement shifts an urge to a different target. The key does not accept it here.
Final Answer:
The mechanism is Reaction formation, which is option 1 (as per the NTA final answer key). \[ \boxed{\text{Reaction formation}} \]