Hint: Ideal climatic conditions to grow coffee are related to temperature and rainfall. Coffee generally requires somewhat warm temperature with moderate rainfall.
Complete answer: Coffee is a tropical plant which is also grown in a semi-tropical climate. This plant requires heat, humidity and abundant rainfall to grow and yield well. Coffee requires an average temperature of 15℃ to 28℃ . Growth of the coffee plants is very rapid during the hot rainy season and during the cool dry season the berries get ripened and ready to be plucked. Bright sunshine and warm weather are necessary for harvesting. Coffee needs abundant rainfall that is nearly 100-200 cm annually. The hill slopes that receive orographic rain are thus best suited for coffee cultivation.
Therefore, from the above discussion one can conclude that option D is the correct answer as it is already mentioned earlier coffee plants need warm weather to grow and ripen properly.
Note: Coffee plants can sustain a dry spell of 2-3 months after an abundant amount of rainfall. These plants cannot survive in extreme sunlight thus they are planted under the shadows of other big trees.