A driver must take the HazMat knowledge test:

You must take and pass the written English version of the HazMat knowledge test and be cleared through a federal background check before every renewal of your CDL.
DMV Writen Test