Right option is (a) 2V
For explanation: In ideal diode model the diode is considered as a perfect conductor in forward bias and perfect insulator in reverse bias. That is voltage drop at forward bias is zero and current through the diode at reverse bias is zero.
Consider that diode is reverse biased. But, that does not satisfy KCL at the node. No incoming current is present. Hence diode is forward biased and short-circuited. Hence the output voltage = V = VB = 2V.