This question asks which technique can actually sense the stress trapped inside a material when there is no external load on it. Residual stress measurement methods fall into two broad groups: destructive methods like hole drilling or layer removal, and non-destructive methods like X-ray diffraction, neutron diffraction, ultrasonic and magnetic techniques. Let's go through the four choices given.
Only X-ray diffraction directly reads the elastic lattice strain that residual stress produces inside the material, so it is the correct technique.
Let's summarize:
The correct technique for determining residual stress in a material is X-ray diffraction (XRD).