The major product of the following reaction is

From the KVPY 2012 · Streams SB/SX paper. Try it, check your answer, then read the worked solution below.
The major product of the following reaction is

Try it yourself first, then check your working against this.
Worked solution
Concentrated HBr protonates the hydroxyl group and replaces it with bromide; the isolated double bond is untouched in the major product:
The allylic position makes this substitution especially easy (an allyl cation is resonance stabilised). Options (A) and (D) would need addition across the double bond, (C) a second substitution.
(B)
Concepts used: HBr replaces the hydroxyl group, the isolated double bond is untouched in the major product
Every past question tagged to the same part of the syllabus, with solutions.
All KVPY questions on Alcohols, Phenols and Ethers · All KVPY questions on Haloalkanes and Haloarenes
Past questions on the same topic (Alcohols), each with a worked solution.
Timed, in the real format, and marked the moment you submit.