Can the shingles vaccination prevent shingles?

Yes. The shingles vaccine, zostavax, is available to adults in a particular age group. Zostavax helps prevent shingles, but is not completely protective. Some people can still get shingles even though they were vaccinated. Zostavax costs about $250 if not covered by insurance.
Yes. That is exactly what it is meant to do. It is recommended for people over the age of 60 and cuts the risk of getting shingles in half.