But did you know there are some questions that are illegal for employers to ask you? For example, it’s illegal to ask any questions related to protected classes, says Charles A. Krugel, an HR attorney. “Protected classes typically include race, gender, nationality, religion, military status and age (40 and up). Usually, such questions are intended to identify those class members.