Understanding how (and where) to make removal cuts when pruning is crucial to the tree's ability to compartmentalize decay.
Managing rot post-pruning (or in the event of cavities) has less to do with keeping bugs and water out, and more to do with equipping the tree to respond well at a chemical level.