The correct options are
A Mg,Sr,Ba
C Be,Al,Ca
In option B, Mg, Sr, Ba belongs to 2nd group so they are have same outer electronic configuration of ns2.
In option C, Be and Ca belongs to 2nd group so they are having same properties how ever, Al shows similar properties with Be and Ca due to diagonal relationship of Be withAl.
In options A and D, both 1st and 2nd group elements are present together so their properties are different.
Hence, options B and C are correct.