HR professionals that I respect have advised me that asking questions about hobbies or personal interests are to be avoided.
1. It makes you susceptible to bias. Say a candidate reveals that they love volunteering at their local church group and it becomes evident that they hold strong religious beliefs; in some circumstances, if the interviewer holds contrary beliefs, it could unfairly affect their perspective of the candidate.
2. Along the same lines as the first example. If the candidate revealed during the interview that they were Muslim for example, and they were unsuccessful in getting the job, there is little preventing them from bringing a case against the company for discrimination. Unless you have absolutely rock solid evidence to prove that their faith had zero influence on the decision making process, it can actually be a very difficult position to defend.
Personal questions are used to gauge your interests and personality to see how well you might fit within the company or a specific team.
These are things I've heard other white dudes complain about at work.
I'm just giving a heads up for some poor dudes that wanna "play the game" and make a good career. Or what is worse is the poor guys that post on HN about "I've been to 50 interviews, everyone thinks my resume is great but I'm not landing any jobs". The fit or fuck off attitude is still very much alive in the corporate world.
I could write a similar list for the typical white geek that dresses like Rainman or has autistic body language and wonders why he's not getting hired.
There is no way around this. Everyone does it.
As you behave against the bias this will slowly work to correct the biased expectations, because you will have new experience that contradicts previous assumptions.
And even when it isn't, it means they're looking for somebody who they can get along with easily. Which means they're looking for somebody who could easily become friends with them.
And making friends with white guys is a lot easier if you're a "banana": yellow on the outside but white on the inside: if you like the same things the white guys do, if you have the same opinions that the white guys have, if you behave the same way they do, et cetera.
One thing I've noticed about tech companies is that they like to brag about how diverse they are.
"John over there is a ballroom dancer, Jack doesn't drink beer, Talia is a black girl, Jim dresses funny, ..."
So if you have one thing that distinguishes you from the other guys at work, that's actually a good thing. If the group is a bunch of hard drinkers that talk about sports all the time, it's possible to not drink or not care about sports as long as you don't make a big deal about it.
But if you have two things different, then you don't fit in. You're an Indian, you've already used your "difference card", so to fit in you have to be a hard-drinking sports lover or whatever the company culture is.
Avoid strong opinions even if you're asked. The interviewers themselves may be crapping on emacs, PHP, design patterns or whatever so you may be tempted to voice your own, but it doesn't go both ways. Don't get too comfortable.
You'll be offered coffee. Drink it. Don't refuse beer either. Fake a liking if need be. After work drinks are mission critical.
Make sure you're not too fat nor too old nor too Indian. If you're a woman, look your best and practice your natural makeup skills.
"What are your hobbies? / What do you like to do on your free time?" don't mean what you think they mean. "Spending time with my family" or "reading" are not valid answers. The only valid answers are the ones that imply you like working for free (Github, OSS, and the like.) Bonus points for consecutive green squares.
Don't talk badly about former colleagues. This is the biggest red flag.