Ok so i was wondering from what book was this question ask because there a lot of books that ask this question?
The answer is B. Ruins because that is the direct object which the direct object is the main thing you are talking about.
Answer: whether, weather
Explanation: Looking at the Grey sky, Becky wondered WHETHER the WEATHER would ruin the class trip.
Weather and whether although having a similar pronunciation do not perform same function in a sentence.
Weather is used to describe the temperature and precipitation activity at a certain point in time while WHETHER is a word used as a condition between two likely outcomes.