One difference between CDs and US Treasury bonds is that interest on US Treasury bonds/notes/bills is exempt from state income tax. So if you live in a high income tax state, you need to account for taxes when comparing yields.