Autozone’s lifetime warranty is return the defective part and they’ll give you a new part. I haven’t had to do an alternator yet, but plenty of brake pads. They fight like heck to replace rotors under warranty (usually only a 2 or 3 year warranty depending on which rotors you get)