Duke barks when he hears strange noises, or when he sees strangers in the backyard. (We are having our yard landscaped, so people are constantly coming and going.)
The only other time Duke barks is if I am holding him and someone comes near us, even if it is a family member. He's my personal body guard!