At what age do puppies become vicious or protective usually?

I'm just wondering because I'm getting this one puppy, who's almost 4 months old, and he attack this one dog 5 times his size, and became protective when this large group of strangers passed by us. I just didn't know puppies at such a young age could be like that....
3 answers 3