Major scales can have flats and sharps.
The pattern of flats and sharps stays the same with any piece of music so you should be getting familiar with the number of flats and sharps in each of the grade two scales. Here is some more practice on recognising B flat major, E flat major and A major.