Step 1: Look at the exact words used.
The sentence uses "as ... as" to link two things, a person's pride and a peacock. This word pattern is a strong clue on its own.
Step 2: Check each option against the sentence.
A metaphor calls one thing another thing directly, without "like" or "as", for example "he is a peacock." That is not what we have here, so option A is wrong. An apostrophe means talking to someone absent or non human as if they can hear you, which does not fit at all, so option C is out. An epigram is a short witty saying with a twist, and this line has no twist, so option D is out too.
Step 3: Confirm the correct figure of speech.
A simile compares two different things using "like" or "as", and that is exactly the structure here, pride is compared to a peacock's pride using "as ... as".
Final Answer:
The sentence uses a simile because it compares pride to a peacock with the word "as". \[ \boxed{\text{Simile}} \]