Answer: A
The reacting carbon (CHX2Br) is not a stereocentre, so the bonds to the stereocentre are untouched and its spatial arrangement is retained. Priorities at the stereocentre: CHX2Br>CX2HX5>CHX3>H in the substrate and CHX2CN>CX2HX5>CHX3>H in the product (at the second sphere, (N,N,N) beats (H,H,H)). The order is unchanged, so the label remains (S).