Correct option(s) for the following sequence of reactions is(are)

From the JEE Advanced 2021 · Paper 2 paper. Try it, check your answer, then read the worked solution below.
Correct option(s) for the following sequence of reactions is(are)

Try it yourself first, then check your working against this.
Worked solution
Identify each compound.
Check each option.
(C), (D)
Concepts used: carbylamine test, AgNO2 gives nitro compounds, Hofmann vs amide reduction, AgCN gives isocyanides
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Amines), each with a worked solution.
Timed, in the real format, and marked the moment you submit.