The rabies vaccine is highly effective in preventing rabies if administered before exposure to the virus or soon after exposure.