What age would you expect a child to keep a pet alive?

Specifically a rabbit that lives in a hutch outside.

My parents gave me a rabbit at around 7 years old and aside from buying the initial supplies it was my sole responsibility, they never checked on the animals or taught me how to take care of them. I never had animal responsibilities before that. I don’t think that was a good idea and I’m traumatized by what happened to them.. sparing the details. I’ve always felt