Stuart Armstrong starred as Scotland ended a run of four defeats with a straightforward 6-0 win over San Marino, where John McGinn also scored his first career hat-trick.
The Saints midfielder, who entered the fray with 20 minutes remaining, rounded off the scoring with a free-kick late on, which will ease the pressure following Thursday's 4-0 defeat by Russia.
The win moves Steve Clarke’s side up to fourth in Group I, above Kazakhstan who lost at home to Belgium.
Scotland can still qualify for their first major tournament since 1998 via the Euro 2020 play-offs, which begin in March.
Elsewhere, Jan Bednarek’s Poland secured their spot at Euro 2020 with a 2-0 victory at home to North Macedonia - ensuring they will finish in Group G’s top two. The defender completed the 90 minutes, where familiar face Robert Lewandowski was the provider of both goals.