Reminds me of an episode of Holmes on Homes I once saw. Had that exact configuration on the outside of a brick home, and the electrician said it was against their (Canadian) code. I believe the catch was however, that it was alongside a driveway so it was susceptible to damage from an automobile.
I'm sure nunya
is right however, and part of "correctly" will hinge on where it is located.