I was responsible for helping with interviews at my last job, and there seemed to be no bearing between having a degree and technical aptitude. We’d do a two hour pair programming session where we’d discuss architecture decisions, why you write code a certain way, etc. and it seemed pretty difficult to fake out the process.
However sometimes people wouldn’t even get to that point! We had a person interview with a masters in mechanical engineering over video chat and I swear he was getting coached via a chat app or something during the interview, because he kept glancing at his screen, especially when we’d ask questions.
Another person who had a computer science degree and was a team lead with over six years experience very confidently asserted that “interfaces make software more secure”. Trying to give him the benefit of the doubt we asked him to explain what he meant by that and his explanation was basically “they just are”.