When a steady yellow signal appears as you approach an intersection, what should you do?
Correct answer: C. – Stop before entering if it is safe; otherwise continue cautiously
In Virginia, a steady yellow signal warns that the traffic signal is about to change. If you have not entered the intersection, stop when it is reasonably safe to do so. If stopping would be unsafe, continue through cautiously; if already in the intersection, clear it carefully. Do not accelerate to beat the signal.
Source: Va. Code § 46.2-833(A) – Traffic lights; penalty, Virginia Driver’s Manual — Section 2, “Yellow light or arrow”

