You learn it in highschool level programming classes & first semester intro to CS college courses.
Even if they won't specifically need to use recursion in their next job it marks them as someone not serious or about programming.
I mean, I would be worried if a candidate is not shy to use recursion that this will blow up software perfomance. (But then probably after hire the senior will tell: dont use recursion here)
Generally, developer interviews are just stand-ins for IQ tests since it is illegal to give a candidate an IQ test. Seeing if someone can easily write a recursive function is a pretty good IQ test.
Of course I will be embarressed soon, when it is only me who doesnt use recursion in production. :-)
There are still plenty of jobs that require excellent technical skills.
(Solve the Towers of Babylon with recursive algo).
So, yes. Somebody calling himself a programmer or engineer should be able to produce this.
No more, no less. Doing so will get you paid for the activity of programming.
Along the way if you don't know anything, because you can't know or remember everything, you just look it up.
The end.