▻ FALLACY
I take this broadly as a logical mistake.
▻ NO FALLACY - REASONABLE STATEMENT
There are uses of 'You are an X, therefore you should know Y' which are perfectly reasonably. If I approached a Harvard professor of math., asked 'what is a prime number?', and they professed total ignorance, 'You are a mathematician, therefore you should know' would be completely in order in regard to so basic and elementary a matter.
▻ NO FALLACY BUT UNREASONABLE EXPECTATION
By contrast if I asked a math teacher who teaches only basic math. what Betti numbers are, this is a relatively advanced matter and it would not be reasonable to say 'You are a mathematician, therefore you should know'. The nature of Betti numbers is not something that just any mathematician can be reasonably expected to know.
▻ WHEN TO USE 'YOU ARE AN X, THEREFORE YOU SHOULD KNOW Y'
In sum 'You are an X, therefore you should know Y' is reasonable only if Y is something that falls within the standard knowledge of any and every X.
▻ THE OPEN-TEXTURE OF STANDARD KNOWLEDGE
Now the question gets interesting since it is often contestable what does fall within standard knowledge. There is often no sharp line to be drawn at which to decide where 'standard knowledge' ends - the concept is open-textured. In your linguistic example I would expect any French graduate to know the French for a 'shop' or a 'street'. But the French for 'a 'wheelbarrow' ? It's on or near the edge of everyday speech. One could spend years in France without needing to use the word (brouette, I think). As not definitely calling on standard knowledge, 'you should know' is an unreasonable expectation in the wheelbarrow case.