One thing to look at is to make sure the UPS provides the proper power to the switch. I see the model you selected has IEC C19 receptacles and I don't see any power cords that Cisco offers with 5672UP that meet that spec.
Aside from that, if you find the UPS that is compatible in that regard and it supplies clean conditioned power you should be OK.
Hope this helps.