Answer: D
The amine is senior to the nitro group (which is only ever a prefix), so the parent is aniline with the N-bearing carbon as C-1. Substituents are: methyl on nitrogen (locant N) and nitro at C-4 (para). Alphabetically methyl precedes nitro: N-methyl-4-nitroaniline.