I interviewed at a small company just for an internship several years back. It was an iOS position, but again, internship/jr. level. I said I wasn't an expert but wanted to learn and had spent some time developing some basic iOS apps on my own.
Guy proceeds to seriously ask me about low-level memory management, i.e. ARC (Automatic Reference Counting) vs. other methods (this was roughly 2013 or so).
I attempted to give an answer from what I knew just reading the docs, as I hadn't written complex-enough code for it to matter. Mentioned I didn't have first-hand experience using it, so that's my frame of reference.
He basically laughed and went off to tell the recruiter it wasn't worth having me finish my interview loop.
I understand for an experienced iOS engineer at the time, those would've been entirely valid questions and it'd be reasonable to expect enough time spent using them that a quality answer could be given.
But I was honest in saying I hadn't gone that far and this was for an internship.
Of course that was also when I realized that in the real world, there are small companies who tend to want FTE-level of productivity out of young engineers/interns for that pay level who aren't experienced enough to know it.
Edit: Coincidentally that same day I reached out over Twitter to the CEO of a company I admired, also in SF, and asked if I could just tour the office since I was in the area.
That CEO spent his lunch hour with me, had a good laugh about the interview story, and worked with one of his teams and recruiters to get me in the schedule to interview. Got an internship there the right way, spent two years interning, went full time for 3.5 years, and that was the beginning of my full-time career.