Like the others have said, a DC pump is far better, so long as your only goal for the UPS is to run the sump pump. Plus UPS take some power all the time, where the DC sump pumps really don't take as much.
If you want UPS batteries I shop for them at Battery Sharks.
https://www.batterysharks.com/I have a large UPS that I built out a 120VDC 100AH pack for, but it runs my full rack of computer gear.
https://www.batterysharks.com/They sell the batteries for your UPS if you want the normal ones too.
My opinion, if you are putting in a second pump, I suggest putting a second line out of the house too, if practical. Occasionally the check valve fails and you won't know it because the primary pump is still working, but when you need the backup it just pumps water down through the other pump and back into the pit. Also the DC pump will kick on if your primary pump fails / gets clogged with mud / etc. So the DC pump protects you from two different issues, power outages, and primary pump failures. Also the DC backup pumps have an audible alarm when they are running, so you hopefully notice if it's running and the lights are still on.