These sort of questions are far too common in these companies.
I have once been rejected by a company here in Bangalore, for not reading the interviewer's favourite paper(The one Google published on BigTable). Which according to him was so important anyone who hadn't read it and re-read it several times like him couldn't possibly be a coder.
This is despite finishing the take home assignment, implementing 3 more features onsite, more code review sessions, general interview sessions.
Some people are not serious about getting work done, and whatever they are claiming to do with hiring people. Unfortunately they are neither looking to hire people to get the work done, nor hiring the best.