Per your first paragraph, they usually frame it as, "Would you vote for a candidate with the following background:" as a way to gauge personal feelings on a matter.
A Gallup one recently: http://www.gallup.com/poll/155285/atheists-muslims-bias-pres...