A positively-charged particle (alpha-particle) projected towards the west is deflected towards the north by a magnetic field. The direction of the magnetic field is,
upward
Fleming left-hand rule
The rule used is the Fleming left-hand rule which states that if we stretch our thumb, forefinger and middle finger of our left-hand perpendicular to each other in such a way that the forefinger points in the direction of the magnetic field and the middle figure points in the direction of the current, then the thumb will represent the direction of the force.
The explanation of the correct option
In case of option D
Hence, option D is the correct answer.