0A typical treatment of this question can be found in the section "00Formal and notional agreement" at 01a 05000 02a 0240
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
The subject of the sentence is 'selection of cakes and teas' but 'selection' is the main part of the subject. 'Selection' is singular, like 'group' or 'family'- it is one entity, but contains several parts. A clue is the article 'a'- 'a selection'. 'A' is used for singular nouns. A selection of whatever is... It probably sounds funny because 'was' was right next to the plural noun, 'answers
There are other usages though: a selection from a volume of poems (or songs, or prints) is normally taken to be collective plural. Then to be pedantic, if you want to talk about a single-item selection, you need to say "single selection" or "sole selection" etc. You will see "selected " more often than " selection" or "_ selections", maybe because it evades this trouble.