# SN2 on compound containing halogen and carbonyl

I was given the following question on a sample exam for my organic chemistry course:

I am quite certain that it would happen in a SN2-type reaction considering that

1. the nucleophile is $$\ce{CN-};$$
2. the solvent is DMF.

However, I'm not sure what electrophilic center would be attacked first. I'd appreciate any explanation about why the nucleophile would choose one carbon over the other (if that were the case). The question also states that there are 2 product formed, so could it be possible that an elimination reaction is happening as well?

• What do you think would happen if it attacked the carbonyl? Ok, you add into the carbonyl group, then what happens? – orthocresol Jan 11 at 10:50
• The $\pi$ electrons would go up to the carbonyl oxygen, giving it a negative charge? – w_p_d_01 Jan 11 at 11:11