Answer: D
Protic solvents hydrogen-bond to the small anion CNX− and lower its energy, which slows SN2. A polar aprotic solvent such as DMSO solvates the NaX+ cation but leaves CNX− largely unsolvated and highly reactive, so DMSO gives the fastest reaction.