Correct option is D
generate interest in a topic.
The teacher is trying to generate interest in the topic of elephants by giving the students a quiz about it before they read a story about them. This will help the students to activate their prior knowledge about elephants and make them more likely to be engaged in the story.