The major product obtained in the following reaction is :

From the JEE Main 2019 · 9 Jan · Shift 2 paper. Try it, check your answer, then read the worked solution below.
The major product obtained in the following reaction is :

Try it yourself first, then check your working against this.
Worked solution
With one equivalent of acetic anhydride the more nucleophilic is acetylated first, leaving the OH free: N-acetyl product.
(B)
Concepts used: selective N-acetylation
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Amines and Nitrogen Compounds · All JEE Main questions on Carboxylic Acids and Derivatives
Past questions on the same topic (Amines), each with a worked solution.
Timed, in the real format, and marked the moment you submit.