You cannot guarantee avoidance, but high-level play minimizes hits.
Watch MrBean35000vr, Chad, Abney317 (MKWii legends) for defensive masterclasses.