Alex Carey, who survived the drama, went on to score his maiden Ashes century as Australia bounced back from 94-4 to 326-8.