If an element is in 2nd group and 3rd period in the modern periodic table then it is most likely to be a
Metal
In periods, the metallic character decreases as we go from left to right in the periodic table. Also, the metallic character increases as we go down the group. So we can conclude that the element in group 2 and period 3 will be a metal.
As the element belong from group 2, so it's valence electron is 2 and the period is 3, so it will have number of shells as 3.
Electronic configuration = 2, 8, 2
Atomic number = 12
The element is magnesium which is a metal.