Having spent a long time in tech and worked with a lot of people I've realised there are two sorts of people who are "imposters". There are those who have BS'd their way up and are in a role where they're out of their depth, and there are those who were lucky to have landed a role that's a bit beyond them (often because they have deep experience elsewhere.)
The first type don't ask questions. They know they're imposters and don't want to be called out.
The second type do ask questions. They also know they're imposters but they're trying to learn so they're not.
Judge people on their actions else you'll only spot the second group, and often with a bit of support those ones can go on to do great things, especially if they're experienced at one thing but they're not learning a new thing. When they get enough knowledge to connect the two things they can be absolutely brilliant.
The first type don't ask questions. They know they're imposters and don't want to be called out.
The second type do ask questions. They also know they're imposters but they're trying to learn so they're not.
Judge people on their actions else you'll only spot the second group, and often with a bit of support those ones can go on to do great things, especially if they're experienced at one thing but they're not learning a new thing. When they get enough knowledge to connect the two things they can be absolutely brilliant.