Sometimes all cables will check out ok.
But, I was taught by Pete Cornish that with multiple earths, all earth runs must have the same resistance, otherwise hum will be induced in the system. You might think it’s zero ohms, but one might be 1 ohm, and the others 0.2 ohm. The result sometimes being feint hum.
A rack power-conditioner like a Furman only protects against huge surges, but is a good way of shortening all your mains cables, leaving a single earth to supply.
I firmly believe in the UPS to provide ripple-free, true sine-wave mains, and it is isolated from the raw mains at the wall.
Obviously, throwing a $9.99 eBay 12V adaptor in your rack, is not usually a great idea. But you can sensibly position things if not racked up, and keep the culprit away from other cables. Better to spend $100 on a linear PSU, rather than struggle with switch-mode supplies.
Shielded mains cables, and balanced signal cables - then you won’t pick anything up - and the UPS gives a hum-free supply to begin with.
In the example below, note that each load-box and dedicated channel-strip are in their own GRP rack boxes. The mixer being in its own case. This is to prevent spurious earthing through the rack-rails. If all units were in one case, then we might well be created earth-loops at least.
Now, my two UPS were $400, all cables $400, extra two cases @400 - but my recording rig is silent, even at full gain, with two amps running.