And then a huge thundercloud appeared.
Yes, appear (and disappear) can be used without a preposition, but not in your sample sentence. That is, one cannot appear an exam -- unless this is an abbreviated and somewhat poetic form of appear to be an exam, clearly not the meaning you intended...