No, applying for both sessions of the NDA exam is not mandatory. The NDA exam is conducted twice yearly, called NDA I and NDA II. Candidates can apply for either or both sessions based on their preference and eligibility. However, applying for both sessions can give candidates more opportunities to appear for the exam and increase their chances of selection.