The must ride sections are Resurrection Trail, Johnson Trail and Upper Russian Lake trail. Deveils pass is a nice add on wing to the Resurrection Trail but the other trail while less know and not as biking friendly still worthy in their own ways.
Re the Bears: Russian Lakes trail is a bear highway with a long history of bear people encounters with considerably more bear activity while salmon are running. I would avoid or be very wary on that trail in late June and all of July. All other sections, take normal bear country precautions i.e. bear spray, make noise etc. In over 20 trips on these trails (except Russian River) where I've seen much bear scat but never a bear close enough to get concerned about.
The Alaska Railroad offers a option for getting t/f Anchorage-Seward it not exactly fast ~!4hr but a very nice ride and the are willing to take bikes in the baggage cars.
Consider riding to hope if you have some time or ride from Anchorage to Girdwood and then Girdwood to Hope. Both are fun warm up rides mostly paved trail from Anchorage to Girdwood. Nice why should from Girwood to Hope cut off and not much traffic on the Hope cut off.
Some trail info
https://www.mtbproject.com/directory/8006867/southcentral-alaska