I think interview processes are just a game. Interviewers are hoping to win the best candidate and interviewees (job seekers) are just trying to win a good job. Both sides try to exploit the process and find the best fit - and often loose due to the rules of the game.
Perhaps if you look at it as an imperfect game, that might give you the mindset of doing the best at the game to get the job you want.
As a consequence of hiring being an imperfect game, in my experience many questions in an interview don't relate to the actual job or qualifications needed to perform the job. It seems that often questions are based on "Company X (or HR guru, etc.) did this in their hiring process, so lets do the same!" or "We don't really know what the candidate will do, so lets ask questions about X instead." The end result is that hiring people think they're doing a great job weeding out poor candidates when really their biasing the hiring pool for candidates that don't fit the intended job.