If this was talking about electromagnetic waves, then you would be correct in your thinking because the speed of light is constant. For any other wave, you could hold wavelength constant and simply increase the speed. Increasing the speed would cause the frequency to increase without changing anything about wavelength. The key word in this question is "must". Period is the only thing that must change if frequency changes.