First mention of singular countable nouns takes a/an: a horse, an ox, a buffalo. Fair can take either a or the; option 4 uses a horse, an ox, a buffalo, in the fair, which reads most naturally.
Note: The NTA answer key marks option 1, which uses the buffalo instead of a buffalo. Option 4 is more consistent grammatically, but we have followed the marked key.