Answer: B) metaphor.
Explanation: A simile is a figure of speech that consists in making a comparison between elements that aren't obviously related, this comparison is made using the words "like" and "as." A metaphor is also a comparison but it is made in a direct way (without using "like" or "as"). In the given sentence we can see an example or a metaphor that compares the road to a ribbon of moonlight.