The definition of a rhetorical device is

Which one is right

• a comparison using "like" or "as".

• the repetition of the same vowel sound in words.

O a device used in language to convey meaning or to persuade.

The correct definition is: a device used in language to convey meaning or to persuade.