Politely redirect the conversation if you are asked an illegal interview question, focusing on your qualifications and suitability for the job.