Depends entirely on what your expected use for the money is, even for a "young person." Also, as of the most recent fed meeting, rates are no longer continuously climbing (at least for now).
Further, investing borrowed money (as is being discussed here) is leveraged investing - which, while it can multiply returns, also multiplies risk and has to be accounted for in any reasonable asset strategy.
Well, I would never invest borrowed money, with the exception of putting it in a high yield savings account, but still, CDs just have no draw. So you can make 5.25% for a 5 year minimum investment period; well, I can make 4.5% in my savings account and have full liquidity. Don't forget the risk of putting your money into something where there are penalties for early withdrawl.
I guess my point is that the margin is so small that it is not worth the hassle/risk of having your money being locked up.
Also, you NEVER buy bonds when interest rates are going up as their price moves inversely of the interest rate. While the fed finally stopped, after 20 some odd rate hikes, there is no guarantee that they will not be back at it next meeting. Thus, I wouldn't even consider bonds right now.