The major product of the following reaction is

From the NSE 2018 · NSEC · Chemistry 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
Mg inserts into the weaker, more reactive C-Br bond, not C-Cl, giving 4-chlorophenylmagnesium bromide. With 1 mol of Grignard reagent, the more reactive ketone C=O of ethyl acetoacetate is attacked in preference to the ester; work-up gives the tertiary alcohol
(In practice the acidic of a β-keto ester would partly quench the Grignard; the intended answer is the chemoselective addition to the ketone.)
(A)
Concepts used: Grignard formation selectivity, chemoselective addition
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Nucleophilic addition), each with a worked solution.
Timed, in the real format, and marked the moment you submit.