The sentence "When I go rock climbing, I prefer climbing in landscapes that present a challenge" is a B. a complex sentence.
It contains a dependent clause ("When I go rock climbing") and an independent clause ("I prefer climbing in landscapes that present a challenge").