>> Subscribe to Cycling Weekly this Autumn and save 35%. Enjoy the luxury of home delivery and never miss an issue <<
Andrea Guardini (Astana) was the first of the sprinters to set the pace on the run-in to the line, but Italian Viviani came past him on the left.
Stage one winner Mark Cavendish (Etixx-QuickStep) found himself slightly boxed in, but accelerated enough behind Viviani to claim second and retain his overall lead in the race going into stage three on Friday.
The 2015 Dubai Tour concludes on Saturday, February 7.