Wales narrowly missed out on second place in their UEFA U-19 Championship qualifying group but appear to have progressed as one of the best third-placed teams.
Wales scored at regular intervals against hosts Kazakhstan but also needed a favour from England in their match, in order for them to overtake Slovenia on goal-difference.
Cassia Pike got a first-half brace and also hit the crossbar with a penalty, while Gwennan Davies also contributed to a 3-0 interval lead.
Ella Powell did convert a spot-kick after the hour mark, with Daisy Evan-Watkins soon adding the fifth goal.
England eventually made the breakthrough against Slovenia, as Lauren Hemp struck in the 89th minute.
Evan-Watkins got her second three minutes into added time, although with the match finishing 6-0 Wales still needed another goal for the runners-up spot from the Young Lionesses but they ran out of time.
While England won the group by five points and the Welsh ended a goal behind Slovenia, the standings suggest that Wales have made one of the four berths in the Elite Round for the best third-placed teams.