The major product of the reaction is

From the JEE Advanced 2015 · Paper 1 paper. Try it, check your answer, then read the worked solution below.
The major product of the reaction is

Try it yourself first, then check your working against this.
Worked solution
Diazotisation. NaNO₂/HCl diazotises the α-amino group.
Neighbouring-group participation. The carboxylate displaces N₂ with inversion, forming an α-lactone. Water then opens it with a second inversion.
Result. Two inversions mean overall retention: 2-hydroxy-4-methylpentanoic acid with the OH in the same position as the original NH₂ (wedge).
(C)
Concepts used: diazotisation of an α-amino acid, neighbouring-group participation gives retention
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Advanced questions on Amines and Nitrogen Compounds · All JEE Advanced questions on Biomolecules
Past questions on the same topic (Diazonium salts), each with a worked solution.
Timed, in the real format, and marked the moment you submit.