Kennedy struck out six, walked two and hit a batter.
The Diamondbacks averted a shutout when Upton led off the ninth with a single and scored on Miguel Montero's double.
Notes: St. Louis has scored in the first inning for eight games in a row. ... The Cardinals' five homers in Monday night's game were their most since hitting six on July 5, 2007, against Pittsburgh. ... Beltran needs two stolen bases to become the eighth player in major league history with at least 300 steals and 300 homers. ... Beltran had his second multi-homer game of the season. ... The Cardinals go with Kyle Lohse (4-1, 2.11 ERA) while Arizona sends left-handed rookie Wade Miley (3-0, 2.33) to the mound in the series finale. ... Arizona failed to score in 12 innings against St. Louis' starters in the first two games of the series. ... The Diamondbacks' Cody Ransom struck out four times, giving him seven in two games.
Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.