What decides the answer is the
sign on the guardrail in the middle of the road: it allows going around only on the side the arrow points to. The arrow points down and to the left, so you go around the obstacle on the left; that's path A. The
sign next to it only warns of a dangerous stretch and doesn't set the side for going around