Right option is (d) compression flange of beam is not restrained from moving laterally
To elaborate: Two important assumptions are made to achieve ideal beam behaviour: (i) compression flange of beam is restrained from moving laterally, (ii) any form of local buckling is prevented. A beam loaded predominantly in flexure would attain its full moment capacity if local and lateral instabilities of beam are prevented.