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 applied by the racket alters both the speed (by imparting velocity to the ball) and the direction (by changing the trajectory) of the ball.