Answer: D
The compound is methyl 4-chloropent-2-enoate. The ester is the principal group: the acyl chain is numbered from the C=O carbon (C1), giving the double bond at C2 and chlorine at C4. The group on oxygen is methyl. The other names shift a locant or shorten the chain.