Solution
Azo coupling is an electrophilic substitution in which the benzene diazonium ion, a weak electrophile, attacks the para position of a ring. The ring must be strongly activated by an electron-donating group such as -OH or -NH.
Nitrobenzene has a strongly electron-withdrawing -NO group. It deactivates the ring, so the weakly electrophilic diazonium ion cannot attack it and no coupling occurs.
Options 2 and 3: phenol and aniline have strongly activating -OH and -NH groups, so they couple readily to form azo dyes. Phenol couples in mildly basic medium and aniline in mildly acidic medium.
Option 1: anisole has an activating -OCH group, so its ring is electron rich enough to couple at the para position.
