White organic solid that forms CO2 with NaHCO3, forms a diazo dye withe beta-naphthol, and reacts with bromine water
(i) indicates presence of 'strong' acidic group: -(SO3H) and -(CO2H) since both are strongly acidic to protonate NaHCO3 and yield CO2.

(ii) indicates presence of Primary Amine which can fully undergo diazotization reaction and then with beta-naphthol form azo dye (coloured dye).

(iii) excess of bromine water forming s-tribromoaniline directly indicates that Option 2(b) is correct.

An article on point (iii): journal_iisc