Germany made it 10 wins out of 10 in Group C as they ended an impressive qualifying campaign in some style against Azerbaijan.
Joachim Low's side has been in imperious form in Group C, scoring 43 goals and conceding just four.
Leon Goretzka opened the scoring early on with an impudent backheel before Azerbaijan scored an unlikely equaliser through Ramil Seydaev to go into the break level.
Die Mannschaft turned on the style in the second half, though, as goals from Sandro Wagner, Goretzka, Emre Can, and an own goal from Badavi Huseynov ensured they ended their qualifying campaign with a flourish.
The only negative for the hosts was the first-half withdrawals of Niklas Sule and Shkodran Mustafi through injury.