with this question i wouldve written out the formula for |z| which is

you can notice easily that the maximum and minimum values of θ return |z|=1, which from the options available is the maximum. then if you notice that at θ=pi/4, the function is at a symmetrical point, because both cos and sin increase and decrease at opposite rates on either side of pi/4, if that makes sense. so you know θ=pi/4 is a minimum or maximum, but given that 1 must have been a maximum, then pi/4 is the minimum, which gives 1/sqrt2 when subbed in. (idk how foolproof this is, but i got B without looking at the solution or doing much working)