An electron beam is projected along +X axis, experiences a force due to magnetic field along the +Y axis. What is the direction of magnetic field?
You can find out the force using Fleming's left hand rule. Do note that the direction of I is opposite to the direction of motion of electrons.