Cuando llueve, hay nubes.
This means "When it rains, there are clouds."
b. That means the sun shines, which it does not.
c. That means that it's hot, which makes less sense than there being clouds.
d. That means there's snow, which is the case when it rains and it's freezing.
So a. hay nubes is the most reasonable answer.
Hope this helps!