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 exerted by the racket alters both how fast the ball travels (its speed) and the path it takes (its direction).