Answer: B
The compound shown is sulphanilamide. The aromatic NH2 is far more nucleophilic than the sulphonamide NH2 (whose lone pair is delocalised onto SO2), so it is acetylated to give 4-acetamidobenzenesulphonamide. Other structures have the wrong site, no reaction or an N,N-diacetyl product.