The correct option is B 4-Hydroxy-3-pentenoic acid
Two functional groups are present in the given compound. Priority will be given to −COOH group. The numbering will start from carboxylic acid carbon. Double bond will get number 3 and hydroxy group will get number 4.
Hence, the IUPAC name is 4-hydroxy-3-pentenoic acid.