Here are the matches for each example with the correct rhetorical technique:
- Cookies are my Kryptonite. - metaphor
- The frost is glittering crystals on the trees. - allusion
- What’s in a name? - rhetorical question
- It was the best of times. It was the worst of times. It was the age of foolishness. - anaphora