Retirement tax questions

The earnings will be taxed as ordinary income and the IRA custodian will probably want to withhold at least 10% in taxes which may or may not be enough  HOWEVER they are exempt from the 10% penalty due to the education exemption on form 5329.