The risk of default is measured by bond ratings, with the higher the rating the lower the risk of default, so The higher the rating, the lower the interest rate an investor will receive and the lower the risk that the issuer of the bond will default.