When he says that he was exalted to his eminence Mark Twain is using hyperbole. The reason for using this device is that in this statement the writer wants to intentionally exaggerate about the apprentice engineer's qualities or abilities. It is a way of making him sounds better.