The Cubs tied the score in the third when pitcher Travis Wood pinch-hit and smacked a leadoff homer to left-center.
The D-backs took the lead for good in the bottom half of the inning when Paul Goldschmidt led off with a homer to left that landed in the outdoor seating section of Friday's Front Row Sports Grill.
Hellickson allowed one run on five hits over five innings to pick up the win.
Former D-backs catcher Miguel Montero, who was dealt to the Cubs in December, pinch-hit in the fifth and received a nice ovation from the crowd.
Trumbo went 2-for-3 with a pair of RBIs for the D-backs.
Up next: The Cubs wrap up their spring schedule Saturday with a final exhibition game against the D-backs at Chase Field. Wood and Kyle Hendricks, who will be Nos. 4-5 in the Cubs' rotation, will each get some work in the game. The lineup will feature Cubs Minor League players because the Major League team will be headed to Chicago to get settled before the season opener Sunday night against the Cardinals. Saturday's game will be broadcast on WGN-TV and Cubs.com, starting at 3:10 p.m. CT (watch free on MLB.TV).