The news that the 17-year-old unmarried daughter of Republican vice-presidential nominee Sarah Palin is pregnant has brought the issues of teen sex and sex education into the media spotlight .