There are limits to what should be asked based on the possibility of illegal discrimination based on protected status. For example, asking about marital status or family is very troublesome since that could be construed as discriminating against people with families on the basis that they might not work longer hours or may be distracted. Obviously my former employers generally know all that, but it was pretty much only disclosed after I'd accepted each position.