Either word is fine in sentence #1. In that sentence "external" and "exterior" mean the same thing, which is "the outside of the structure" or "the outside surface of the structure."
However, in sentence #2, external must be used, because, in addition to meaning "the outside of a structure" external can also mean "coming or derived from an outside source."
I hope that helps!