Before getting clearance to fly an aircraft, every pilot has to pass a vast learning course at realistic flight simulator.
The purpose of this training is not to learn the airplane controls and devices, but develop the skills of prompt and effective decision making in difficult conditions. To properly react on any emergency situations and gain the realistic piloting experience without any risk to precious lives of passengers and expensive aircraft.