Bridge rectifier made of ideal diodes
Your answer was indeed backwards. When the AC voltage is positive, diode A is on. That means diode A's current is positive and its voltage is zero. When the AC voltage is negative, diode A is off -- the current is zero and the voltage is negative.

The schematic for this question is poorly-drawn because it does not show the polarities of the voltages.