Answer:
It would be a simile.
Step-by-step explanation:
A simile is a figure of speech involving the comparison of one thing with another thing of a different kind, and that is used in the sentence. Comparing the rocky peaks to the jagged shark's teeth.
No way it would be a metaphor since everything is applicable in this sentence.