The pre-verbal subject slot is filled by the pleonastic 'there', which assigns singular third person to the number of the verb. That is one view.
The other being that the deep subject "an apple and ..." determines the number of the verb.
The makers of your test likes the surface-subject interpretation (the first view).
The plural 'are' is correct (too).
Interested in Language