It depends on what kind of centralized exchange because I only trusted the one that I'm using like Binance because I was using it since 2017 when it was launch and until now it never gives me a problem so far and for the sake of safety precautions I never use those unknown crypto exchange for trading and other purposes.