To expand upon this a little: what exactly do we even mean by the Dunning-Krueger effect in diving? At what point does the average diver enter and leave the "danger zone" of thinking they know more than they do? Immediately post-cert through 50 or 100 dives? Sometime later, maybe starting around 50 or 100 dives and continuing until somewhere between 200 and 500 dives? Or is it just a post-hoc explanation for any diver who dies doing something stupid, at any level of experience? This is why I'm skeptical of the idea.
I'm not saying the hypothesis or the research behind it are bunk, but as applied in these discussions, it has a whiff of pseudoscience to it. Hey, we don't have to live with the gnawing uncertainty over why this person made a fatal mistake; we've got a term for this situation! The problem with that is twofold. One, it has no predictive value if we can't agree on who's vulnerable and who isn't before an accident occurs. Two, if we reach a consensus but we're wrong, it will encourage complacency among those we deem "less vulnerable." Divers die at all skill levels. It's difficult to say what proportion die at each level, and even more difficult to sort out how many died of ignorance or overconfidence, as reasonable people can disagree. (In most cases I think we'd agree that a heart attack is just one of those things that can happen and not evidence of the Dunning-Krueger effect, but I'm sure we could dream up a hypothetical where an out-of-shape diver attempted a strenuous surf entry and long surface swim, where we might say he should've known better.)
Rather than asking, how can we combat the Dunning-Krueger effect, perhaps we should be acknowledging that 1) diving is inherently dangerous and any of us could die from it, 2) all of us are ignorant of something, and although we should seek proper training, we cannot gain complete knowledge of an environment without venturing into it (so, obviously, exposing ourselves to its dangers before we have complete knowledge), and 3) we are all susceptible to overconfidence, which is both the reason we're here in the first place (what rational person gives up the unlimited supply of surface air to venture into such an inhospitable environment in the first place?) and also something that may be the death of us. There is no point where we can afford to let our guard down, and even the most cautious can get it wrong.