If you can do it in one sheet and with no penetrations it will likely last.
If you install yourself then it’s a product only guarantee, in effect it came with no holes in it and no comeback on anything.
If you have penetrations (outlets, skylights) make sure your joints are clean and the detailing / flashing is spot on. The joints tend to fail on rubber roofs, as the glue fails or the glue was bonded to the debris on the unclean joints (workmanship issue)
Don’t rule out getting quotes on a few differing systems and have them supply copies of the guarantee that they will give on completion. Insurance backed product and workmanship guarantees (contractor installs it) is your best bet.
If you install yourself then it’s simply down to your workmanship, as this is where it will fail. Be it 2 years of if your luck 20-30 years.
They used to say you get what you pay. But I’ve seen many a job (felt, single ply, liquid, rubber / epdm, glass fibre) were people have paid over the odds for a poor job and with no come back as they only saw the headline 20 – 50 year guarantee etc or brought into that it’s the latest and most modern system on the market. But the contractor has long gone and with it their chance or repair.
Read up on the system being proposed, does it have a bba certificate and what’s its durability. Most importantly what are the terms of the guarantee and who underwrites it.
If you are to do DIY then your standard of workmanship is the risk factor, assuming you buy a reasonable quality.