Solution
Benzene diazonium chloride couples with phenol in a mildly alkaline medium to give p-hydroxyazobenzene, an orange dye. The base converts phenol to the phenoxide ion, which is strongly activated. The diazonium ion is a weak electrophile and attacks the para position of the phenoxide ring.
The ring is attacked by an electrophile, so this is an electrophilic substitution (azo coupling).
Options 1 and 2: p-aminoazobenzene forms when the coupling partner is aniline, not phenol.
Options 1 and 3: the diazonium ion is the electrophile and the ring is the nucleophile, so this is not nucleophilic substitution.
Coupling with phenols is done in mildly alkaline medium (pH 9-10), and with anilines in mildly acidic medium (pH 4-5).
