When should alternating flashing amber warning lights be activated?

The driver of a school bus must activate their amber warning lights at least 300 feet before reaching a bus stop to warn surrounding drivers about the upcoming stop.
DMV Writen Test