The correct option is A a force and a torque
A magnetic needle is a magnetic dipole.
In a non uniform Magnetic field Force on each of the poles will be different in both magnitude and direction.
Due to difference in Magnitude the dipole experiences a Force,
Due to difference in Direction the dipole experiences a Torque.