One of my friends told me that when he was interviewed at his current company, they asked him a similar question, and he said he gave a long complicated answer that basically amounted to "I would google it."
Gotcha style questions like that pretty much just ask "have you been in the exact same scenario as me last Tuesday?"
My interviewing has boiled down to 30 minutes of shooting the shit to see what the person is like and to make them more comfortable and then a pair session with a ticket I haven't had experience with so we are both on approximately the same level.
My goal in the session is to see how they interact with an unfamiliar project and what kind of questions they ask and their discovery process of learning our business domain.
I also send the same screening test depending on role so I do have a baseline, although I'm much more interested in our interaction during the pair session.
I said the same thing to an interviewer once when he asked me about the syntax of some Entity Framework command and he looked at me like I had cheese coming out of my mouth.
I didn't get the job, but I'm glad. His reaction was a red flag as far as I'm concerned.
He got the job, so there you go I guess.