SD, if you register new Apple products when you obtain them, Apple does that for you.
YT. What you need is a backup close to hand, and a backup in a safe secure location. The time machine gives you the first. iCloud doesn't get you the second. I tried it and found it lacking.