Answer: D
Tosylation takes place on oxygen and leaves the C-O bond at the stereocentre intact (retention), converting the poor OHX− leaving group into good tosylate. Bromide then displaces tosylate by SN2 in DMF with inversion of configuration. The CIP priorities (X > ethyl > methyl > H) are in the same order for OH and Br, so inversion changes R to S.