Which amongst the following will be most readily dehydrated under acidic conditions?
Dehydration is easier when the carbocation formed is not destabilised by a nearby EWG. In (D) the NO₂ is far from the OH carbon, so the 2° cation is least destabilised.