You should make sure that they are pertinent to what you are being interviewed about because you do not want the focus of the interview to shift somewhere else.
Interviewers requesting writing samples want to detect your ability to write clearly and concisely. Make sure you are comfortable with the topic and read it out loud to catch mistakes.