There can be only three arrangements of the card
Case 1:q k k
Case 2:k q k
Case 3:k k q
The question we can ask by pointing to the first card, ie. The left most one is: "the card next to it is a queen"

Case 1 : a)he replies yes, which will be false , so third one is the king b)he replies no, which is true, so so second is king.

Case 2: he will always reply yes as this is a king , then third will be automatically the king

Case 3: he will always reply no as this is a king , then second will be automatically the king

To summarize: if he answers yes to the question, the third one will be a king if he answers no to the question, the second one will be a king.