In the apparatus shown, the electron flow is from cathode to anode.
Therefore the flow of positive charge (conventional current) is from anode to cathode.
Apply the "right-hand curl" rule.
If your right thumb points in the direction of conventional current, then your fingers curl in the direction of the B-field.
(D) is correct. B-field points out of the page.