Few is a quantifier used with plural countable nouns. Little is used with singular uncountable nouns. Students are plural countable nouns. "A few" means some. Option B is correct. 5,000 students had appeared in the exam a few students could get through.