We did a bigger ride and some hills with the 11-42 cassette with no issues at all. I suppose my derailleur hangar could be a bit different than yours.
One way to check would be to see how much adjustment you still have on your B screw. For the 42 I have it in all the way and for the 34 it's at about midpoint of adjustment.