Well, indeed. Traditionally those have been used to discriminate against people. To the point that any competent HR department will ban you from asking women interviewees about children.
I'm a guy so I've never been asked about kids until after being hired, and even then just conversationally at lunch.