The most effective option for protecting the house against flooding is:
D. building the house on a raised platform to prevent flood water from entering the house.
Building on a raised platform elevates the house above potential flood levels, significantly reducing the risk of water entering the structure during a flood. While installing a metal roof can help minimize damage from rain and debris, it does not prevent flood waters from entering the house as effectively as raising the house would.