The correct option is A 2, 4 and 5
2, 4 and 5 moles of acetic anhydride (Ac2O) is required to react completely with tartaric acid, ribose and glucose respectively, as they contain 2, 4 and 5 free −OH groups respectively.
The reaction follows as:
R−OH+Ac2O→R−OAc+AcOH