For those classes you must pass the hazardous materials knowledge test at a DMV office. That would be within 2 years before your renewal, paying an additional fee of $5 for the test.
That fee would be a standard for everyone?
Sorry, but no. The following counties residents must pay an additional supplemental Metropolitan Commuter Transportation District fee: Bronx, Kings, Brooklyn, New York, Manhattan, Queens. That fee would be $1.00 for every 6 months the permit or driver license will be in effect.
What about if i'm a temporary visitor?