This may be a dumb question but.. I was just wondering.. how do the mmda personnel 'know' the traffic light has turned 'yellow' if they're not facing the traffic light, even behind the traffic light?

In case a car was beating the 'yellow' light, is it because when the traffic light turns yellow, the other cars are already stopping? Or is it that they use some other hint?