Answer: A
P: secondary bromide with azide in a polar aprotic solvent is SN2, so inversion. Q: tertiary bromide in neutral aqueous acetone ionises to a planar cation, so racemisation. R: pyridine gives free chloride, so SN2 inversion. S: without base the SNi ion-pair path delivers Cl from the same face, giving retention.