If an officer is directing traffic at a working traffic light, drivers should:

Traffic signals are placed at intersections to keep traffic moving and to help prevent crashes. Drivers, pedestrians, and cyclists must obey these signals, except when an officer is otherwise directing traffic.
DMV Writen Test