Answer: C
The compound is butyl methanesulfonate. In protic solvents (water, methanol, acetic acid) azide is hydrogen-bonded and its nucleophilicity is lowered. In the polar aprotic solvent DMF, the anion is poorly solvated (a naked nucleophile) and the SXN2 rate rises by orders of magnitude. DMF is fastest.