Scottish League Two strugglers Clyde face a tricky match away to Turriff United in the second round of the William Hill Scottish Cup.
Turriff, who beat Lossiemouth 4-0 on Saturday in the first round, sit fourth in the Highland League table.
Montrose were paired with League Two rivals Arbroath.
Inverurie Loco Works will play Scottish Junior Cup holders Hurlford United and there is an all-Highland League encounter between Nairn and Huntly.
Fraserburgh and Linlithgow Rose face a replay after their goalless draw at the weekend, the only first-round tie that was not decided at the first attempt.
The second-round ties will be played on Saturday, 4 October.
Scottish Cup second-round draw:
Fraserburgh/Linlithgow Rose v Dalbeattie Star
Edinburgh City v Auchinleck Talbot
Nairn County v Huntly
Arbroath v Montrose
East Fife v Threave Rovers
Spartans v East Kilbride
Bo'ness United v Culter
Berwick Rangers v Formartine United
Brora Rangers v Banks O'Dee
Cove Rangers v Annan Athletic
Elgin City v Forres Mechanics
Whitehill Welfare v East Stirlingshire
Inverurie Loco Works v Hurlford United
Gretna 2008 v Queen's Park
Turriff United v Clyde
Stirling University v Albion Rovers.
Scottish Cup first-round results:
Auchinleck Talbot 5-0 Buckie Thistle
Clachnacuddin 1-7 Hurlford United
Cove Rangers 9-0 Hawick Royal Albert
Culter 4-2 Strathspey Thistle
Deveronvale 0-1 Nairn County
Edinburgh City 2-1 Coldstream
Forres Mechanics 4-1 Civil Service Strollers
Fraserburgh 0-0 Linlithgow Rose
Golspie Sutherland 1-4 Dalbeattie Star
Gretna 2008 2-1 Gala Fairydean
Huntly 2-1 Wick Academy
Keith 1-3 Formartine United
Lossiemouth 0-4 Turriff United
Lothian Thistle 0-1 East Kilbride
Preston Athletic 1-2 Threave Rovers
Rothes 0-4 Banks O'Dee
Selkirk 0-4 Bo'ness United
Whitehill Welfare 3-1 Girvan