Question
Question: Products A and B formed in the given reactions are respectively:  that produce azo compound.
So, Option B is correct.
Additional Information:
Aromatic compounds are chemical compounds that have conjugated planar rings along with delocalized pi-electrons in place of double and single bonds. Also they are known as arenes. Examples of aromatic compounds are toluene and benzene.
Diazotization reactions are when primary aromatic amine and nitrous acid is reacted to form a diazo compound. It is used to make various aromatic compounds by diazonium salts. Also to synthesize dyes.
Azo coupling is an organic reaction, when diazonium compound and another aromatic compound is reacted it results in formation of azo compound. Mostly the diazonium compounds are also aromatic. Mostly they are used as dyes known as azo dyes. Due to formation of coupling between compounds there are types of azo reaction, those are Azo C-coupling reactions and Azo N-coupling reactions. It is a common reaction which is used for preparation of derivatives of phenols and aromatic amines.
Note: When an aromatic compound is reacted with nitrous acid( HNO2 ) it results in formation of diazonium salts. And when diazonium salts are reacted with aniline they result in formation of azo compounds. Also to find products find the type of reaction happening.