Question: can a king take a queen?
Answer: The king can capture the enemy queen, as long that does not place it in check from another piece. there is only one move that cannot be performed in check (aside for making a move that keeps you in check, or creates another one ) and that is castling.