M is "Be" alkaline earth metal.
Be readily forms water-soluble sulphate BaSO4
Be(OH)2 is water-insoluble hydroxide.
BeO is very stable to heat and does not have a rock-salt structure.
Therefore, the correct option is (4).
Study 40% syllabus and score up to 100% marks in JEE