Self Test Qn 2

The self test qn 2 (with answer comments) says that including asset A will not increase the risk of the portfolio as it has the same beta. Is that correct as the std deviation is related to risk and that is more than portfolio Y (which is the mkt portfolio)