I have hired people to work under me. Generally, if someone can pass the interview and do the job, I don't care that much about your views unless you are very outwardly with them. The only time I had to filter out a candidate was due to a quick check of his public social media where he was "enthusiastically" pro Palestine with questionable posts.
That being said, having interviewed plenty of ex government or government adjacent people, not a single one can pass even a mediocre interview problem. Most people who work for the government show up expecting to be told what to do, then do it - very few can independently think for themselves.
For example, my interview problems are designed to be solved most efficiently with implementing parallelization, but they sound like regular interview problems, so even with LLMs a lot of candidates usually can't solve it unless they give the LLM specific instructions to implement threads, which requires understanding of the problem.