If you have to use an auto, the hottest 45 ACP+P, 10mm, 45 super would be a good idea. 5.7 would be a really bad one, if you checked the brassfetcher link, the deepest penetration was still under 12 inches, and bears are a lot tougher than people, so you'd get even less. I think a revolver...