When a sound wave travels from air into a medium like a person's eardrum, the speed of sound generally changes because sound travels at different speeds in different media. Since the frequency of a sound wave remains constant as it enters a new medium, the change in speed leads to a change in wavelength.
Thus, the correct response is:
Both the speed and the wavelength of the sound change.