Worked solution from the The Periodic Table: chemical periodicity MCQ booklet.
NH3(aq) is a weak alkali that supplies OH−. A white precipitate forms if a hydroxide of the element is insoluble, or if the chloride is hydrolysed to a white solid.
MgCl2(aq): Mg2+ + 2OH− → Mg(OH)2, a white precipitate.
SiCl4(l): it reacts with water to give SiO2 (white solid) and HCl, so a white precipitate forms.
NaOH and Ba(OH)2 are soluble, so NaCl(aq) and BaCl2(aq) give no precipitate under these conditions.
The two samples are MgCl2(aq) and SiCl4(l).
So the answer is B.
A, C and D each include NaCl or BaCl2, which stay as colourless solutions.
▶ Starts at Q17 (45:48)
Starts at Q17 (45:48) · by Lucid Mind. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.