That depends on the context though. If the person is asking a question because something isn't working, and an answer solves the problem, they are then the best person to qualify whether the answer was correct.
Though yes, if you are asking a question from a more academic perspective, then you wouldn't expect the person asking to be the best judge of the right answer.