The correct option is D Both a and b
Al3+ and Zn2+ belong to group 3 cations. Cations of this group do not react either with dilute hydrochloric acid, or with hydrogen sulphide in dilute mineral acid medium. However they form precipitates with ammonium sulphide in neutral or ammoniacal medium. A white precipitate may be caused by Al3+ or Zn2+. To a fresh sample add NH3, first in moderate amounts, then in excess:
white precipitate, which dissolves in excess NH3 solution Zn2+ present
white precipitate, which remains unchanged if excess NH3 is added: Al3+ present