The main dangers, at training/junior private pilot level, are (1) disorientation. (2) the cloud may contain an obstruction, such as a hill or radio tower.
Disorientation is dealt with by practice at instrument flying.
Avoiding hills and towers in cloudbanks is dealt with by not flying into clouds, unless on an appropriate instrument flight, with the license etc that entails.