A metaphor is a piece of figurative language that compares two unlike things without using the terms "like" or "as". Off the bat, you can eliminate B and C, because they include these words. Option A is a piece of prose, it makes no comparisons.
The answer is D, because it compares the subject, "I" (most likely a person), to a rock (which is not a person).
Lets go with vacations you should write about what you do on holiday where you have been in the past where you are going this year where you hope to go in the future also talk about favourite food and finish with a opinion like if you like it or not