Phenol and benzoic acid can be distinguished by NaHCO3 because being stronger acid only benzoic acid reacts with it and phenol does not react. Effervescences of CO2 confirms presence of COOH group.
Phenol and benzoic acid react with other reagents (NaOH,Na,PCl5 ) given as choices.
So, they cannot be used to distinguish them.