Domanda di colloquio di Intel Corporation

How does x-ray diffraction work? This was an easy question, but unexpected.