Michael Soroka struck out six over seven innings and Gabriel Moreno knocked a two-run homer to help the Arizona Diamondbacks beat the Washington Nationals 5-1.