Here is a goal: To protect your home from home invasions,

How would you accomplish this goal?
get a dog to bark when an intruder arrives.