The correct option is
B Magnesium (Mg)
As it is in the 3rd period, the outer most shell would be 3, i.e., either 3s or 3p or 3d.
As it is in the second group, it will have two electrons in the third shell, i.e., 1s22s22p63s2. Hence, it has 12 electrons that is magnesium.
Hence the correct option is A.