The correct option is D Al2+(g)→Al3+ (g)
(a) Here the incoming electron will face repulsion, since we are adding the electron in an anion, thus we need to provide energy in this case.
(b) Na+(g)+Cl−(g)→NaCl(s)
Here both the ions are geeting stabilized by forming the NaCl solid. Hence energy will be released in this process.
(c) Again nitrogen has a stable electronic configuration (1s22s22p3 and electron density in nitrogen is very high. Thus We will need to provide energy to add an electron in the nitrogen atom.
(d) After loosing 2e−, aluminium will spontaneously lose 3rd electron, as after that it will attain stable noble gas configuration. But we need to provide energy to carry out this reaction also as we are removing an electron from an cation.