I wouldn't care if someone asked me that in an interview.

Yes I realize that woman shouldn't be penalized for wanting to start families or have babies, but I would just shrug it off.

If your friend wanted the job before they asked her those questions, I don't see why she shouldn't want it now.