The pair of amphoteric hydroxide is :
Amphoteric hydroxide is one which reacts both with acid and base.
Be(OH)2, Zn(OH)2 are amphoteric hydroxide which reacts both with acid and base.
Be(OH)2+2HCl→BeCl2+2H2O
Be(OH)2+2NaOH→Na2[Be(OH)4]
Zn(OH)2+2NaOH→Na2[Zn(OH)4]
Zn(OH)2+2HCl→ZnCl2+2H2O.
Hence option D is correct.