second half. Rifle.
What about home defense vs a bear? You bet a rifle would be better than a handgun.
And honestly, i've been thinking about this for a while. Look at the angles in your home. What percentage of trajectories actually ends up with the bullet going through a couple of walls and into where another human being is going to be? Very very few.
In a life and death situation, I am willing to accept the 1 in a million chance that the bullet from my rifle will go through 3 walls and into my neighbor's house and he will happen to be standing in the exact path of the bullet for the greater chance that what i hit will be stopped, AND for a greater degree of accuracy....that same accuracy will also make it less likely I will miss and have a bullet going toward a neighbor.
(How likely is it that your neighbor will be in that exact path? Well, how likely are you to be able to successfully with intent kill a zombie vampire whatever if he was hanging out in your neighbor's house, and you were unable to leave your own house, nor look out the windows. You just had to guess where he was and try and shoot him....through your wall AND through you neighbor's wall? To make it easier, say you have 4 houses around yours, and they ALL have vampirezombies in them)