A metaphor is a figure of speech that describes an object or action in a way that isn't literally true, but helps explains an idea or make a comparison.
According this theoretical explanation the option is D.
It rings in our ears like a timely sent warning.
The expression like a timely sent warning is not literally true but try to explain the idea indicated at the The pronoun " it" and verb " rings"