The best version is: Were you selected for the position? Yours would both be technically correct if you added the missing punctuation. But the use of "get + selected" grates on my ears.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.