Depends where in AK. If you are going into Grizz territory you are most certainly better off with a long gun of some type. I like the Marlin Guide Gun in 44/70. A handgun is better than throwing rocks but bear spray would be more effective than most.
For Black Bear most .44 mag w/ hard cast Corbon or Buffalo Bore should be sufficient. For a handgun I carry the Ruger Alaskan in .454 Casual w/ Corbon or Buffalo Bore heavy cast.