My vaccinated pet dog scratched me today. Should I get the rabies vaccination?

Is it necessary to get rabies vaccination if a vaccinated pet dog scratches you?