The correct answer is: C. Has the weather been fine?

The reason is that the question is about the weather in the past, so we need to use a past tense verb. The other options are all in the future tense, which is not correct.

A. Will the weather be fine? is in the future tense. It is used to ask about the weather in the future.

B. Was the weather fine? is in the past tense. It is used to ask about the weather in the past.

D. Is the weather fine? is in the present tense. It is used to ask about the weather now.

In this case, the friend has just come back from holiday, so we know that the weather was fine in the past. We are not asking about the weather now, or in the future, so we need to use the past tense.