Barium (Ba) is indeed in group 2 of the periodic table, which is known as the alkaline earth metals. Being in this group indicates that it has 2 valence electrons. Additionally, barium is a highly reactive metal, not a gas or a semimetal.
Therefore, the correct interpretation of barium's properties based on its position in the periodic table is:
It has 2 valence electrons and is highly reactive.