To find out the level of support for passing a law in a certain town, what would be the best way of conducting a poll?

A) Survey all the registered voters in the town.
B) Survey the residents who come to a town meeting.
C) Conduct an online poll sponsored by a local radio station.
D) Survey a random sample of town residents.

D) Survey a random sample of town residents.