When passing another vehicle:

Passing must be completed within the posted speed limits, and only in areas where passing is safe and legal.
DMV Writen Test