The correct response is:
It changes both the direction and the speed of the ball.
When a tennis player hits the ball with a racket, the force exerted by the racket on the ball alters both its speed (by giving it momentum) and its direction (by the angle at which the racket strikes the ball).