If you’re going to be going up that steep climb regularly, then put the 34 back on, and keep it on until you can climb that hill in 2nd gear.*
if you’re only going to climb it occasionally to test yourself, keep the 28 on, and try to maintain 45rpm up it next time.
*I don’t know your limits or if you’ll ever get to the stage of comfortably climbing the hill in the 30 cog, but it’s worth having a goal, right?