When approaching a railroad crossing, drivers must stop within ____ of the first rail, when indicated to do so.

Any driver or pedestrian approaching a railroad crossing must stop within 50 feet, but not less than 15 feet, from the nearest rail of the railroad when warning lights are flashing, crossing gates are lowered, or drivers are otherwise instructed to stop.
DMV Writen Test