The correct response is: It changes both the direction and the speed of the ball.
When a tennis player swings the racket and hits the ball, the force applied by the racket alters both the speed (acceleration or deceleration) and the direction of the ball's motion.