A mixture containing the following four compounds is extracted with 1M HCl. The compound that goes to aqueous layer is :

From the JEE Main 2017 · 8 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.
A mixture containing the following four compounds is extracted with 1M HCl. The compound that goes to aqueous layer is :

Try it yourself first, then check your working against this.
Worked solution
Only the amine (II) is basic enough to be protonated by 1 M HCl; its ammonium salt dissolves in the aqueous layer. The sulphide, ether and ketone stay in the organic layer.
Concepts used: acid extraction of amines
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Amines and Nitrogen Compounds · All JEE Main questions on General Organic Chemistry
Past questions on the same topic (Amines), each with a worked solution.
Timed, in the real format, and marked the moment you submit.