These were just example questions, for example pair programming might be irrelevant, if it's not a significant part of team culture. I admit some questions here are tricky. It's hard to predict how candidate will interact with the whole team: maybe they're very respectful to me, but they will look down on junior developers?
Here are a few things I do that help me better predict whether candidate will fit the team:
- ask candidate to do coding task at home and later discuss the solution during face-to-face interview. While discussing the solution and suggesting improvements I can see how candidate reacts to feedback, whether they can explain why they came up wit this particular implementation, what do they say when I suggest an idea for refactoring etc.
- I like having another team member with me during interview. That person is an observer and they help me review candidate's performance (e.g. it happened that I had an impression that candidate did quite well, but my observer told me that I was often helping candidate with their task, which I had not noticed)
- lunch with candidate might be helpful. I take 2 team members with me and 4 of us grab some food out of the office. This helps candidate meet potential teammates and talk in a more relaxing atmosphere, so both sides can see how they feel about each other.
- one more thing I do is during initial phone call when I tell candidate about company, at first I give a very brief introduction, then before I say more, I ask whether candidate has any questions. This gives me a lot of insight: some candidates ask advanced questions, some ask very basic ("so what does your company do?" happened a few times!), some focus on product, some ask whether they'll be able to learn a particular skill. Some candidates don't have any questions, which is usually a red flag. These questions themselves are not enough to decide that candidate won't fit, but they're helpful.
- I ask candidates what they would like in their new job to be different than in the previous one. One candidate tells me they want to focus on one particular JS framework. If in my company we chose libraries and languages on per-project basis, she might not like it. Counter example: candidate that wants to learn multiple new frameworks might not feel well in a place that is conservative when it comes to introducing new libraries