Be is in the group II, makes two bonds, so if you have Be as the central atomand 2 H bonded to it, = sp hybridization.
East way to figure out hybridization is to count bonds and lone pairs,
Ie. H2O = has 2 bonds and 2 LP = which makes it sp3 hybridized.