I've been looking back over my career to this point (15 years in tech), as part of interviewing at a new company. I've had the realization that the best way, at least for me, to mitigate imposter syndrome, is to own my own ignorance early and often. Saying "I don't know" and having the world not end* a few times diffuses that anxious loop.

* assuming a non-toxic work environment. Jobs where this strategy works are also much healthier places to work overall.

There's definitely some privilege to acknowledge here, of course. I've never had this backfire, but coming from me "I don't know" has always been received as "but I can learn". The same cannot be always be said for women I've worked with, sadly. (And I don't have enough personal experience working with other minorities, but I also would not be even a little surprised if it was similar or worse.)

But again, it's generally a sign of how healthy a company or team is.