Beam dynamic study of a Ka-band microwave undulator and its potential drive sources