My general suggestion is that ... if "your gut" is telling you very-loudly that these questions are beneath your personal level of comfort and experience, then,
"trust your gut!"
Most-unfortunately, the computer-programming business today is struggling to absorb
(or, to cast-off, as the case may be ...) a thick wad of people whose actual level of technical experience is minimal. Yet, since such people are perceived to be
cheap, such people are considered to be attractive. Therefore, your first order of business must be to separate yourself from that crowd, one way or the other.
And-d-d-d-d... there are
two ways that this could go!
The
good (for you ...) way is that the interviewer is trying to filter the wheat from the chaff. Since you are "the wheat," you can (of course) effortlessly "rise above" that question and see what happens next.
However, there is also the very-real possibility that is
bad for you: that the interviewer is really looking for "the chaff."
The company has already "gleefully outsourced" its entire IT operation, and what it
(thinks that it) needs now is "a handful of 'local folks'" (who don't mind making phone calls at 2AM local-time ...), and who only need to know barely-more than the "cheap" folks do.
And, mind you, this is not a "racial slur!" No, the human-beings on the other side of this coin have things
far worse than "we" do, and none of them did anything (quite the opposite) to deserve it. But, still, and "at least for the moment," here we all are.
The presence of these "trivial questions" should be your first warning-sign, and, if you see them being played, you should immediately guide the interview(!) in such a way that you can see
(your gut will tell you ... trust your gut ...) whether the hiring company's expectations are "good" or "bad." If they are "good," then proceed. Otherwise, cut your losses(!!) and extricate yourself gracefully, leaving them to their own fate.
In, say, another five years' time, things will be
(totally) different. But until then, your objective is "to find work to do." Therefore, apply this basic salesman's precept:
"qualify the prospect." If the job appears to be one that you would not take, then you aren't obligated to finish the interview. Let them find, and hire, whomever (else ...) they may find to hire.
C'est la guerre.