How to attach a new 2x4 wall frame's top plate to a concrete load bearing ceiling beam?
I suggest TapCon concrete fasteners with washers.  They come with a disposable masonry drill bit for pre-drilling.  Use a hammer-drill.
Another option is powder actuated nails, but a concrete beam might be made from concrete that is too hard for PAT nails to penetrate.