This video has been around for a couple of years, but it is proof that if there is a threat to a family, the dog does not hesitate to take action.  This video is pretty amazing considering it's a little dog vs. a venomous snake.  Not sure my golden retriever would do this though.