IME the differentiator is not a technical background; it's whether they care more about ladder climbing/appeasing their own managers or doing something useful.
A quick filter of effective management is asking the question: What do you hope to gain out of this job?
If the answer is a promo or ladder-climbing, you know that they will make sub optimal decisions that guide their ladder-climbing journey.