Answer: D
Pyridine N is in an aromatic ring with a double bond (sp2). Pyrrole N donates its lone pair into the aromatic sextet and is trigonal planar (sp2). The nitrile N is triply bonded (sp) and piperidine N has three single bonds plus a lone pair (sp3).